├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .reviewboardrc ├── HEADER ├── KEYS ├── LICENSE ├── NOTICE ├── README.md ├── RELEASE.md ├── bin ├── check-all.sh ├── generate-javadocs.sh ├── integration-tests.sh ├── merge-pull-request.py ├── publish-site.sh └── setup-int-test.sh ├── bootstrap.gradle ├── build.gradle ├── checkstyle ├── checkstyle-suppressions.xml └── checkstyle.xml ├── doap_Samza.rdf ├── docs ├── Makefile ├── README.md ├── _blog │ ├── 2017-08-27-announcing-the-release-of-apache-samza--0.13.1.md │ ├── 2018-01-31-announcing-the-release-of-apache-samza--0.14.0.md │ ├── 2018-05-31-announcing-the-release-of-apache-samza--0.14.1.md │ ├── 2018-07-19-stream_processing-meetup-summary.md │ ├── 2018-09-26-stangeloop-recap.md │ ├── 2018-10-23-stream_processing-meetup-summary.md │ ├── 2018-11-27-announcing-the-release-of-apache-samza--1.0.0.md │ ├── 2019-03-22-announcing-the-release-of-apache-samza--1.1.0.md │ ├── 2019-06-11-announcing-the-release-of-apache-samza--1.2.0.md │ ├── 2019-12-09-announcing-the-release-of-apache-samza--1.3.0.md │ ├── 2020-02-20-announcing-the-release-of-apache-samza--1.3.1.md │ ├── 2020-03-17-announcing-the-release-of-apache-samza--1.4.0.md │ ├── 2020-07-01-announcing-the-release-of-apache-samza--1.5.0.md │ ├── 2020-08-28-announcing-the-release-of-apache-samza--1.5.1.md │ ├── 2021-01-28-announcing-the-release-of-apache-samza--1.6.0.md │ ├── 2023-01-17-announcing-the-release-of-apache-samza--1.8.0.md │ ├── TEMPLATE.md │ └── index.md ├── _case-studies │ ├── TEMPLATE.md │ ├── digitalsmiths.md │ ├── ebay.md │ ├── fortscale.md │ ├── index.md │ ├── intuit.md │ ├── linkedin.md │ ├── netflix.md │ ├── optimizely.md │ ├── redfin.md │ ├── slack.md │ ├── state.md │ ├── tripadvisor.md │ └── uber.md ├── _committers │ ├── TEMPLATE.md │ ├── aditya-toomula.md │ ├── ajo-thomas.md │ ├── bharath-kumarasubramanian.md │ ├── boris-shkolnik.md │ ├── cameron-lee.md │ ├── chinmay-soman.md │ ├── chris-riccomini.md │ ├── daniel-chen.md │ ├── garry-turkington.md │ ├── hai-lu.md │ ├── jagadish-venkatraman.md │ ├── jake-maes.md │ ├── jakob-homan.md │ ├── jay-kreps.md │ ├── ke-wu.md │ ├── martin-kleppmann.md │ ├── navina-ramesh.md │ ├── prateek-maheshwari.md │ ├── rayman-singh.md │ ├── sanil-jain.md │ ├── shanthoosh-venkataraman.md │ ├── shekhar-sharma.md │ ├── sriram-subramanian.md │ ├── wei-song.md │ ├── xinyu-liu.md │ ├── yan-fang.md │ ├── yi-pan.md │ └── zhijie-shen.md ├── _config.yml ├── _docs │ ├── local-site-test.sh │ └── replace-versioned.sh ├── _includes │ ├── footer.html │ └── main-navigation.html ├── _layouts │ ├── blog.html │ ├── case-study.html │ ├── default.html │ ├── page.html │ └── talks-and-meetups.html ├── _meetups │ ├── aug-2016.md │ ├── aug-2017.md │ ├── dec-2017.md │ ├── feb-2015.md │ ├── feb-2016.md │ ├── feb-2017.md │ ├── july-2015.md │ ├── july-2018.md │ ├── jun-2015.md │ ├── jun-2016.md │ ├── june-2018.md │ ├── mar-2018.md │ ├── mar-2019.md │ ├── may-2014.md │ ├── may-2015.md │ ├── may-2016.md │ ├── may-2017.md │ ├── nov-2013.md │ ├── nov-2014.md │ ├── nov-2016.md │ ├── nov-2017.md │ ├── oct-2014.md │ ├── oct-2015.md │ ├── oct-2018.md │ ├── sep-2013.md │ ├── sep-2014.md │ ├── sep-2015.md │ └── sep-2017.md ├── _menu │ └── index.html ├── _powered-by │ ├── TEMPLATE.md │ ├── cavulus.md │ ├── doubledutch.md │ ├── fortscale.md │ ├── happypancake.md │ ├── improve-digital.md │ ├── intuit.md │ ├── jha.md │ ├── linkedin.md │ ├── metamarkets.md │ ├── mobileaware.md │ ├── movio.md │ ├── netflix.md │ ├── ntent.md │ ├── optimizely.md │ ├── redfin.md │ ├── slack.md │ ├── state.md │ ├── tivo.md │ ├── tripadvisor.md │ ├── vintank.md │ └── vmware.md ├── _releases │ ├── 0.10.md │ ├── 0.11.md │ ├── 0.12.md │ ├── 0.13.md │ ├── 0.14.md │ ├── 0.7.0.md │ ├── 0.8.md │ ├── 0.9.md │ ├── 1.0.0.md │ ├── 1.1.0.md │ ├── 1.2.0.md │ ├── 1.3.0.md │ ├── 1.3.1.md │ ├── 1.4.0.md │ ├── 1.5.0.md │ ├── 1.5.1.md │ ├── 1.6.0.md │ ├── 1.7.0.md │ ├── 1.8.0.md │ ├── TEMPLATE.md │ └── older.md ├── _talks │ ├── TEMPLATE.md │ ├── june-2018--bangalore-kafka-group.md │ ├── november-2017-big-data-span-2017.md │ ├── november-2018--totally-awesome-summit.md │ └── september-21-2017--dataworks-summit-sydney-2017.md ├── archive │ └── index.html ├── community │ ├── committers-old.md │ ├── committers.html │ ├── contact-us.md │ └── irc.md ├── contribute │ ├── code.md │ ├── coding-guide.md │ ├── contributors-corner.md │ ├── enhancement-proposal.md │ └── tests.md ├── css │ ├── google-fonts.css │ ├── ionicons.min.css │ ├── main.css │ ├── main.new.css │ └── syntax.css ├── fonts │ ├── FontAwesome.otf │ ├── RopaSans-Regular-webfont.woff │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ ├── ionicons.eot │ ├── ionicons.svg │ ├── ionicons.ttf │ ├── ionicons.woff │ └── ionicons.woff2 ├── img │ ├── apache-egg-logo.png │ ├── asc.gif │ ├── bg.gif │ ├── case-studies │ │ ├── redfin.svg │ │ └── trip-advisor.svg │ ├── desc.gif │ ├── favicon │ │ ├── apple-touch-icon-114x114.png │ │ ├── apple-touch-icon-120x120.png │ │ ├── apple-touch-icon-144x144.png │ │ ├── apple-touch-icon-152x152.png │ │ ├── apple-touch-icon-57x57.png │ │ ├── apple-touch-icon-60x60.png │ │ ├── apple-touch-icon-72x72.png │ │ ├── apple-touch-icon-76x76.png │ │ ├── favicon-128.png │ │ ├── favicon-16x16.png │ │ ├── favicon-196x196.png │ │ ├── favicon-32x32.png │ │ ├── favicon-96x96.png │ │ ├── favicon.ico │ │ ├── mstile-144x144.png │ │ ├── mstile-150x150.png │ │ ├── mstile-310x150.png │ │ ├── mstile-310x310.png │ │ └── mstile-70x70.png │ ├── feather.gif │ ├── samza-icon.png │ ├── samza-just-logo-transparent.png │ ├── samza-just-logo.svg │ ├── samza-logo-no-text.png │ ├── samza-logo.png │ ├── samza-logo.svg │ ├── samza-logo@2x.png │ └── versioned │ │ ├── case-studies │ │ ├── linkedin-atc-samza-pipeline.png │ │ └── slack-samza-pipeline.png │ │ └── learn │ │ ├── documentation │ │ ├── api │ │ │ ├── samza-arch-detailed.png │ │ │ ├── samza-arch1.png │ │ │ ├── samza-arch2.png │ │ │ ├── samza-arch3.png │ │ │ ├── samza-arch4.png │ │ │ ├── samza-arch5.png │ │ │ ├── samza-arch6.png │ │ │ ├── samza-arch7.png │ │ │ ├── samza-arch8.png │ │ │ ├── table-api-arch.svg │ │ │ ├── table-api-class-diagram.png │ │ │ ├── table-class-diagram.svg │ │ │ └── table-descriptor-class-diagram.svg │ │ ├── architecture │ │ │ ├── distributed-execution.png │ │ │ ├── fault-tolerance.png │ │ │ ├── incremental-checkpointing.png │ │ │ ├── state-store.png │ │ │ └── task-assignment.png │ │ ├── case-study │ │ │ └── ebay.png │ │ ├── comparisons │ │ │ ├── mupd8-samza.png │ │ │ └── mupd8.png │ │ ├── container │ │ │ ├── checkpointing.svg │ │ │ ├── stateful_job.png │ │ │ ├── stream_job_and_db.png │ │ │ ├── tasks-and-partitions.svg │ │ │ └── visualvm.png │ │ ├── core-concepts │ │ │ ├── stream-application.png │ │ │ └── streams-partitions.png │ │ ├── hadoop │ │ │ ├── multi_stage_batch.png │ │ │ └── unified_batch_streaming.png │ │ ├── introduction │ │ │ ├── coordination-service.png │ │ │ ├── dag.graffle │ │ │ ├── dag.png │ │ │ ├── execution-plan.png │ │ │ ├── group-by-example.png │ │ │ ├── job.graffle │ │ │ ├── job.png │ │ │ ├── job_detail.graffle │ │ │ ├── job_detail.png │ │ │ ├── layered-arch.png │ │ │ ├── samza-ecosystem.png │ │ │ ├── samza-hadoop.png │ │ │ ├── samza-yarn-integration.png │ │ │ ├── samza-yarn-kafka-integration.png │ │ │ ├── samza_state.graffle │ │ │ ├── samza_state.png │ │ │ ├── stream.graffle │ │ │ └── stream.png │ │ ├── motivation │ │ │ ├── data-processing-spectrum-1.png │ │ │ ├── data-processing-spectrum-2.png │ │ │ └── data-processing-spectrum-3.png │ │ ├── operations │ │ │ ├── jconsole.png │ │ │ └── visualvm.png │ │ ├── rest │ │ │ └── JobsResource.png │ │ ├── standalone │ │ │ └── standalone-application.jpg │ │ └── yarn │ │ │ ├── am-container-info.png │ │ │ ├── am-job-model.png │ │ │ ├── am-runtime-configs.png │ │ │ ├── am-runtime-metadata.png │ │ │ ├── coordinator-internals.png │ │ │ ├── samza-am-dashboard.png │ │ │ ├── samza-host-affinity.png │ │ │ └── yarn-am-ui.png │ │ └── tutorials │ │ └── hello-samza-high-level │ │ └── wikipedia-execution-plan.png ├── index.md ├── js │ └── main.new.js ├── learn │ ├── documentation │ │ └── versioned │ │ │ ├── api │ │ │ ├── beam-api.md │ │ │ ├── high-level-api.md │ │ │ ├── low-level-api.md │ │ │ ├── programming-model.md │ │ │ ├── samza-sql.md │ │ │ ├── table-api.md │ │ │ └── test-framework.md │ │ │ ├── architecture │ │ │ ├── architecture-overview.md │ │ │ └── kinesis.md │ │ │ ├── comparisons │ │ │ ├── introduction.md │ │ │ ├── mupd8.md │ │ │ ├── spark-streaming.md │ │ │ └── storm.md │ │ │ ├── connectors │ │ │ ├── eventhubs.md │ │ │ ├── hdfs.md │ │ │ ├── kafka.md │ │ │ ├── kinesis.md │ │ │ └── overview.md │ │ │ ├── container │ │ │ ├── checkpointing.md │ │ │ ├── coordinator-stream.md │ │ │ ├── event-loop.md │ │ │ ├── jmx.md │ │ │ ├── metrics-table.html │ │ │ ├── metrics.md │ │ │ ├── samza-container.md │ │ │ ├── serialization.md │ │ │ ├── state-management.md │ │ │ ├── streams.md │ │ │ └── windowing.md │ │ │ ├── core-concepts │ │ │ └── core-concepts.md │ │ │ ├── deployment │ │ │ ├── deployment-model.md │ │ │ ├── standalone.md │ │ │ └── yarn.md │ │ │ ├── hadoop │ │ │ ├── consumer.md │ │ │ ├── overview.md │ │ │ └── producer.md │ │ │ ├── index.html │ │ │ ├── introduction │ │ │ ├── architecture.md │ │ │ ├── background.md │ │ │ └── concepts.md │ │ │ ├── jobs │ │ │ ├── configuration-table.html │ │ │ ├── configuration.md │ │ │ ├── logging.md │ │ │ ├── packaging.md │ │ │ ├── reprocessing.md │ │ │ ├── samza-configurations.md │ │ │ ├── web-ui-rest-api.md │ │ │ └── yarn-jobs.md │ │ │ ├── operations │ │ │ ├── kafka.md │ │ │ ├── monitoring.md │ │ │ └── security.md │ │ │ ├── rest │ │ │ ├── monitors.md │ │ │ ├── overview.md │ │ │ ├── resource-directory.md │ │ │ ├── resources.md │ │ │ └── resources │ │ │ │ ├── jobs.md │ │ │ │ └── tasks.md │ │ │ └── yarn │ │ │ ├── application-master.md │ │ │ ├── isolation.md │ │ │ ├── yarn-host-affinity.md │ │ │ ├── yarn-resource-localization.md │ │ │ └── yarn-security.md │ └── tutorials │ │ └── versioned │ │ ├── deploy-samza-job-from-hdfs.md │ │ ├── deploy-samza-to-CDH.md │ │ ├── hello-samza-high-level-code.md │ │ ├── hello-samza-high-level-yarn.md │ │ ├── hello-samza-high-level-zk.md │ │ ├── index.md │ │ ├── remote-debugging-samza.md │ │ ├── run-hello-samza-without-internet.md │ │ ├── run-in-multi-node-yarn.md │ │ ├── samza-async-user-guide.md │ │ ├── samza-event-hubs-standalone.md │ │ ├── samza-rest-getting-started.md │ │ ├── samza-sql.md │ │ └── samza-tools.md ├── less │ ├── main.less │ ├── non-responsive.less │ └── variables.less ├── meetups │ └── index.html ├── powered-by │ └── index.html ├── sitemap.xml ├── startup │ ├── code-examples │ │ └── versioned │ │ │ ├── beam.md │ │ │ ├── index.md │ │ │ └── samza.md │ ├── download │ │ └── index.md │ ├── hello-samza │ │ └── versioned │ │ │ └── index.md │ ├── preview │ │ └── index.md │ ├── quick-start │ │ └── versioned │ │ │ ├── beam.md │ │ │ ├── index.md │ │ │ ├── samza-sql.md │ │ │ └── samza.md │ └── releases │ │ └── versioned │ │ └── release-notes.md └── talks │ └── index.html ├── gradle.properties ├── gradle ├── buildscript.gradle ├── customize.gradle ├── dependency-versions-scala-2.11.gradle ├── dependency-versions-scala-2.12.gradle ├── dependency-versions.gradle ├── maven.gradle ├── rat.gradle ├── release.gradle ├── resources │ └── rat-output-to-html.xsl ├── stacktrace.gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── samza-api └── src │ ├── main │ └── java │ │ └── org │ │ └── apache │ │ └── samza │ │ ├── Partition.java │ │ ├── SamzaException.java │ │ ├── annotation │ │ └── InterfaceStability.java │ │ ├── application │ │ ├── ApplicationApiType.java │ │ ├── SamzaApplication.java │ │ ├── StreamApplication.java │ │ ├── TaskApplication.java │ │ └── descriptors │ │ │ ├── ApplicationDescriptor.java │ │ │ ├── StreamApplicationDescriptor.java │ │ │ └── TaskApplicationDescriptor.java │ │ ├── checkpoint │ │ ├── Checkpoint.java │ │ ├── CheckpointId.java │ │ ├── CheckpointListener.java │ │ ├── CheckpointManager.java │ │ ├── CheckpointManagerFactory.java │ │ ├── CheckpointV1.java │ │ └── CheckpointV2.java │ │ ├── config │ │ ├── Config.java │ │ ├── ConfigException.java │ │ ├── ConfigFactory.java │ │ ├── ConfigLoader.java │ │ ├── ConfigLoaderFactory.java │ │ ├── ConfigRewriter.java │ │ ├── JavaTableConfig.java │ │ └── MapConfig.java │ │ ├── container │ │ ├── TaskName.java │ │ ├── grouper │ │ │ └── stream │ │ │ │ ├── SystemStreamPartitionGrouper.java │ │ │ │ ├── SystemStreamPartitionGrouperFactory.java │ │ │ │ ├── SystemStreamPartitionMapper.java │ │ │ │ └── SystemStreamPartitionMapperFactory.java │ │ └── placement │ │ │ ├── ContainerPlacementMessage.java │ │ │ ├── ContainerPlacementRequestMessage.java │ │ │ └── ContainerPlacementResponseMessage.java │ │ ├── context │ │ ├── ApplicationContainerContext.java │ │ ├── ApplicationContainerContextFactory.java │ │ ├── ApplicationTaskContext.java │ │ ├── ApplicationTaskContextFactory.java │ │ ├── ContainerContext.java │ │ ├── Context.java │ │ ├── ExternalContext.java │ │ ├── JobContext.java │ │ └── TaskContext.java │ │ ├── coordinator │ │ └── lifecycle │ │ │ ├── JobRestartSignal.java │ │ │ ├── JobRestartSignalFactory.java │ │ │ └── JobRestartSignalFactoryContext.java │ │ ├── drain │ │ ├── DrainMode.java │ │ └── DrainNotification.java │ │ ├── job │ │ ├── ApplicationStatus.java │ │ ├── CommandBuilder.java │ │ ├── JobCoordinatorMetadata.java │ │ ├── JobMetadataChange.java │ │ ├── StreamJob.java │ │ ├── StreamJobFactory.java │ │ └── model │ │ │ ├── ContainerModel.java │ │ │ ├── JobModel.java │ │ │ ├── LocalityModel.java │ │ │ ├── ProcessorLocality.java │ │ │ ├── TaskMode.java │ │ │ └── TaskModel.java │ │ ├── metadatastore │ │ ├── InMemoryMetadataStore.java │ │ ├── InMemoryMetadataStoreFactory.java │ │ ├── MetadataStore.java │ │ └── MetadataStoreFactory.java │ │ ├── metrics │ │ ├── Counter.java │ │ ├── Gauge.java │ │ ├── Metric.java │ │ ├── MetricsAccessor.java │ │ ├── MetricsRegistry.java │ │ ├── MetricsRegistryWithSource.java │ │ ├── MetricsReporter.java │ │ ├── MetricsReporterFactory.java │ │ ├── MetricsValidationFailureException.java │ │ ├── MetricsValidator.java │ │ ├── MetricsVisitor.java │ │ ├── ReadableMetricsRegistry.java │ │ ├── ReadableMetricsRegistryListener.java │ │ ├── Reservoir.java │ │ ├── SamzaHistogram.java │ │ ├── SlidingTimeWindowReservoir.java │ │ ├── Snapshot.java │ │ └── Timer.java │ │ ├── operators │ │ ├── KV.java │ │ ├── MessageStream.java │ │ ├── OutputStream.java │ │ ├── Scheduler.java │ │ ├── UpdateMessage.java │ │ ├── UpdateOptions.java │ │ ├── functions │ │ │ ├── AsyncFlatMapFunction.java │ │ │ ├── ClosableFunction.java │ │ │ ├── FilterFunction.java │ │ │ ├── FlatMapFunction.java │ │ │ ├── FoldLeftFunction.java │ │ │ ├── InitableFunction.java │ │ │ ├── JoinFunction.java │ │ │ ├── MapFunction.java │ │ │ ├── ScheduledFunction.java │ │ │ ├── SinkFunction.java │ │ │ ├── StreamTableJoinFunction.java │ │ │ ├── SupplierFunction.java │ │ │ └── WatermarkFunction.java │ │ ├── triggers │ │ │ ├── AnyTrigger.java │ │ │ ├── CountTrigger.java │ │ │ ├── DurationCharacteristic.java │ │ │ ├── FiringType.java │ │ │ ├── RepeatingTrigger.java │ │ │ ├── TimeBasedTrigger.java │ │ │ ├── TimeSinceFirstMessageTrigger.java │ │ │ ├── TimeSinceLastMessageTrigger.java │ │ │ ├── TimeTrigger.java │ │ │ ├── Trigger.java │ │ │ └── Triggers.java │ │ └── windows │ │ │ ├── AccumulationMode.java │ │ │ ├── Window.java │ │ │ ├── WindowKey.java │ │ │ ├── WindowPane.java │ │ │ ├── Windows.java │ │ │ └── internal │ │ │ ├── WindowInternal.java │ │ │ └── WindowType.java │ │ ├── runtime │ │ ├── ApplicationRunner.java │ │ ├── LocationId.java │ │ ├── LocationIdProvider.java │ │ ├── LocationIdProviderFactory.java │ │ ├── ProcessorContext.java │ │ ├── ProcessorIdGenerator.java │ │ ├── ProcessorLifecycleListener.java │ │ └── ProcessorLifecycleListenerFactory.java │ │ ├── scheduler │ │ ├── CallbackScheduler.java │ │ └── ScheduledCallback.java │ │ ├── serializers │ │ ├── ByteBufferSerde.java │ │ ├── ByteBufferSerdeFactory.java │ │ ├── ByteSerde.java │ │ ├── ByteSerdeFactory.java │ │ ├── Deserializer.java │ │ ├── DoubleSerde.java │ │ ├── DoubleSerdeFactory.java │ │ ├── IntegerSerde.java │ │ ├── IntegerSerdeFactory.java │ │ ├── JsonSerdeV2.java │ │ ├── JsonSerdeV2Factory.java │ │ ├── KVSerde.java │ │ ├── LongSerde.java │ │ ├── LongSerdeFactory.java │ │ ├── NoOpSerde.java │ │ ├── Serde.java │ │ ├── SerdeFactory.java │ │ ├── SerializableSerde.java │ │ ├── SerializableSerdeFactory.java │ │ ├── Serializer.java │ │ ├── StringSerde.java │ │ ├── StringSerdeFactory.java │ │ ├── UUIDSerde.java │ │ └── UUIDSerdeFactory.java │ │ ├── sql │ │ ├── SamzaSqlRelRecord.java │ │ ├── schema │ │ │ ├── SamzaSqlFieldType.java │ │ │ ├── SqlFieldSchema.java │ │ │ ├── SqlSchema.java │ │ │ └── SqlSchemaBuilder.java │ │ └── udfs │ │ │ ├── SamzaSqlUdf.java │ │ │ ├── SamzaSqlUdfMethod.java │ │ │ └── ScalarUdf.java │ │ ├── startpoint │ │ ├── Startpoint.java │ │ ├── StartpointOldest.java │ │ ├── StartpointSpecific.java │ │ ├── StartpointTimestamp.java │ │ ├── StartpointUpcoming.java │ │ └── StartpointVisitor.java │ │ ├── storage │ │ ├── BlobStoreAdminFactory.java │ │ ├── KafkaChangelogRestoreParams.java │ │ ├── SideInputsProcessor.java │ │ ├── SideInputsProcessorFactory.java │ │ ├── StateBackendAdmin.java │ │ ├── StateBackendFactory.java │ │ ├── StorageEngine.java │ │ ├── StorageEngineFactory.java │ │ ├── StoreProperties.java │ │ ├── TaskBackupManager.java │ │ ├── TaskRestoreManager.java │ │ ├── blobstore │ │ │ ├── BlobStoreManager.java │ │ │ ├── BlobStoreManagerFactory.java │ │ │ ├── Metadata.java │ │ │ └── exceptions │ │ │ │ ├── DeletedException.java │ │ │ │ └── RetriableException.java │ │ └── kv │ │ │ ├── ClosableIterator.java │ │ │ ├── Entry.java │ │ │ ├── KeyValueIterator.java │ │ │ ├── KeyValueSnapshot.java │ │ │ └── KeyValueStore.java │ │ ├── system │ │ ├── BoundedSSPIterator.java │ │ ├── ChangelogSSPIterator.java │ │ ├── ControlMessage.java │ │ ├── DrainMessage.java │ │ ├── EndOfStreamMessage.java │ │ ├── IncomingMessageEnvelope.java │ │ ├── MessageType.java │ │ ├── OutgoingMessageEnvelope.java │ │ ├── StreamSpec.java │ │ ├── StreamValidationException.java │ │ ├── SystemAdmin.java │ │ ├── SystemConsumer.java │ │ ├── SystemFactory.java │ │ ├── SystemProducer.java │ │ ├── SystemProducerException.java │ │ ├── SystemStream.java │ │ ├── SystemStreamMetadata.java │ │ ├── SystemStreamPartition.java │ │ ├── SystemStreamPartitionIterator.java │ │ ├── SystemStreamPartitionMatcher.java │ │ ├── WatermarkMessage.java │ │ ├── chooser │ │ │ ├── BaseMessageChooser.java │ │ │ ├── MessageChooser.java │ │ │ └── MessageChooserFactory.java │ │ └── descriptors │ │ │ ├── ExpandingInputDescriptorProvider.java │ │ │ ├── GenericInputDescriptor.java │ │ │ ├── GenericOutputDescriptor.java │ │ │ ├── GenericSystemDescriptor.java │ │ │ ├── InputDescriptor.java │ │ │ ├── InputTransformer.java │ │ │ ├── OutputDescriptor.java │ │ │ ├── OutputDescriptorProvider.java │ │ │ ├── SimpleInputDescriptorProvider.java │ │ │ ├── StreamDescriptor.java │ │ │ ├── StreamExpander.java │ │ │ ├── SystemDescriptor.java │ │ │ └── TransformingInputDescriptorProvider.java │ │ ├── table │ │ ├── AsyncReadWriteUpdateTable.java │ │ ├── ReadWriteTable.java │ │ ├── ReadWriteUpdateTable.java │ │ ├── RecordNotFoundException.java │ │ ├── Table.java │ │ ├── TableProvider.java │ │ ├── TableProviderFactory.java │ │ ├── batching │ │ │ ├── Batch.java │ │ │ ├── BatchProvider.java │ │ │ └── Operation.java │ │ ├── descriptors │ │ │ ├── BaseTableDescriptor.java │ │ │ ├── CachingTableDescriptor.java │ │ │ ├── GuavaCacheTableDescriptor.java │ │ │ ├── HybridTableDescriptor.java │ │ │ ├── LocalTableDescriptor.java │ │ │ ├── RemoteTableDescriptor.java │ │ │ └── TableDescriptor.java │ │ ├── remote │ │ │ ├── BaseTableFunction.java │ │ │ ├── TableFunction.java │ │ │ ├── TablePart.java │ │ │ ├── TableRateLimiter.java │ │ │ ├── TableReadFunction.java │ │ │ └── TableWriteFunction.java │ │ ├── retry │ │ │ └── TableRetryPolicy.java │ │ └── utils │ │ │ └── SerdeUtils.java │ │ ├── task │ │ ├── AsyncStreamTask.java │ │ ├── AsyncStreamTaskFactory.java │ │ ├── ClosableTask.java │ │ ├── DrainListenerTask.java │ │ ├── EndOfStreamListenerTask.java │ │ ├── InitableTask.java │ │ ├── MessageCollector.java │ │ ├── StreamOperatorTaskFactory.java │ │ ├── StreamTask.java │ │ ├── StreamTaskFactory.java │ │ ├── TaskCallback.java │ │ ├── TaskCoordinator.java │ │ ├── TaskExecutorFactory.java │ │ ├── TaskFactory.java │ │ └── WindowableTask.java │ │ └── util │ │ ├── BlockingEnvelopeMap.java │ │ ├── Clock.java │ │ ├── NoOpMetricsRegistry.java │ │ ├── RateLimiter.java │ │ ├── SinglePartitionWithoutOffsetsSystemAdmin.java │ │ └── TimestampedValue.java │ └── test │ └── java │ └── org │ └── apache │ └── samza │ ├── checkpoint │ └── TestCheckpointId.java │ ├── config │ └── TestConfig.java │ ├── metrics │ ├── TestSamzaHistogram.java │ ├── TestSlidingTimeWindowReservoir.java │ ├── TestSnapshot.java │ └── TestTimer.java │ ├── operators │ └── windows │ │ └── TestWindowPane.java │ ├── serializers │ ├── TestByteBufferSerde.java │ ├── TestByteSerde.java │ ├── TestDoubleSerde.java │ ├── TestIntegerSerde.java │ ├── TestJsonSerdeV2.java │ ├── TestLongSerde.java │ ├── TestSerializableSerde.java │ ├── TestStringSerde.java │ └── TestUUIDSerde.java │ ├── sql │ └── TestSamzaSqlRelRecord.java │ ├── startpoint │ └── TestStartpoint.java │ ├── system │ ├── TestBoundedSSPIterator.java │ ├── TestStreamSpec.java │ ├── TestSystemAdmin.java │ ├── TestSystemStreamPartitionIterator.java │ └── descriptors │ │ ├── TestExpandingInputDescriptor.java │ │ ├── TestGenericInputDescriptor.java │ │ ├── TestGenericSystemDescriptor.java │ │ ├── TestSimpleInputDescriptor.java │ │ ├── TestTransformingInputDescriptor.java │ │ └── examples │ │ ├── expanding │ │ ├── ExampleExpandingInputDescriptor.java │ │ ├── ExampleExpandingOutputDescriptor.java │ │ └── ExampleExpandingSystemDescriptor.java │ │ ├── serde │ │ ├── ExampleSimpleInputDescriptor.java │ │ ├── ExampleSimpleOutputDescriptor.java │ │ └── ExampleSimpleSystemDescriptor.java │ │ └── transforming │ │ ├── ExampleTransformingInputDescriptor.java │ │ ├── ExampleTransformingOutputDescriptor.java │ │ └── ExampleTransformingSystemDescriptor.java │ ├── table │ ├── TestBaseTableDescriptor.java │ └── remote │ │ └── TestTableRateLimiter.java │ └── util │ ├── TestBlockingEnvelopeMap.java │ ├── TestNoOpMetricsRegistry.java │ └── TestSinglePartitionWithoutOffsetsSystemAdmin.java ├── samza-aws └── src │ ├── main │ └── java │ │ └── org │ │ └── apache │ │ └── samza │ │ └── system │ │ └── kinesis │ │ ├── KinesisAWSCredentialsProvider.java │ │ ├── KinesisConfig.java │ │ ├── KinesisSystemAdmin.java │ │ ├── KinesisSystemFactory.java │ │ ├── consumer │ │ ├── KinesisIncomingMessageEnvelope.java │ │ ├── KinesisRecordProcessor.java │ │ ├── KinesisRecordProcessorListener.java │ │ ├── KinesisSystemConsumer.java │ │ ├── KinesisSystemConsumerOffset.java │ │ ├── NoAvailablePartitionException.java │ │ └── SSPAllocator.java │ │ ├── descriptors │ │ ├── KinesisInputDescriptor.java │ │ └── KinesisSystemDescriptor.java │ │ └── metrics │ │ ├── KinesisSystemConsumerMetrics.java │ │ └── SamzaHistogram.java │ └── test │ └── java │ └── org │ └── apache │ └── samza │ └── system │ └── kinesis │ ├── TestKinesisAWSCredentialsProvider.java │ ├── TestKinesisConfig.java │ ├── TestKinesisSystemFactory.java │ ├── consumer │ ├── TestKinesisRecordProcessor.java │ ├── TestKinesisSystemConsumer.java │ ├── TestKinesisSystemConsumerOffset.java │ └── TestSSPAllocator.java │ └── descriptors │ ├── TestKinesisInputDescriptor.java │ └── TestKinesisSystemDescriptor.java ├── samza-azure ├── README.md └── src │ ├── main │ └── java │ │ └── org │ │ └── apache │ │ └── samza │ │ ├── AzureClient.java │ │ ├── AzureException.java │ │ ├── checkpoint │ │ └── azure │ │ │ ├── AzureCheckpointManager.java │ │ │ ├── AzureCheckpointManagerFactory.java │ │ │ └── TaskCheckpointEntity.java │ │ ├── config │ │ └── AzureConfig.java │ │ ├── coordinator │ │ ├── AzureCoordinationUtils.java │ │ ├── AzureCoordinationUtilsFactory.java │ │ ├── AzureJobCoordinator.java │ │ ├── AzureJobCoordinatorFactory.java │ │ ├── AzureLeaderElector.java │ │ ├── AzureLock.java │ │ ├── data │ │ │ ├── BarrierState.java │ │ │ ├── JobModelBundle.java │ │ │ └── ProcessorEntity.java │ │ └── scheduler │ │ │ ├── HeartbeatScheduler.java │ │ │ ├── JMVersionUpgradeScheduler.java │ │ │ ├── LeaderBarrierCompleteScheduler.java │ │ │ ├── LeaderLivenessCheckScheduler.java │ │ │ ├── LivenessCheckScheduler.java │ │ │ ├── RenewLeaseScheduler.java │ │ │ ├── SchedulerStateChangeListener.java │ │ │ └── TaskScheduler.java │ │ ├── system │ │ ├── azureblob │ │ │ ├── AzureBlobBasicMetrics.java │ │ │ ├── AzureBlobClientBuilder.java │ │ │ ├── AzureBlobClientBuilderFactory.java │ │ │ ├── AzureBlobConfig.java │ │ │ ├── AzureBlobSystemAdmin.java │ │ │ ├── AzureBlobSystemFactory.java │ │ │ ├── BlobClientBuilder.java │ │ │ ├── BlobClientBuilderFactory.java │ │ │ ├── avro │ │ │ │ ├── AzureBlobAvroWriter.java │ │ │ │ ├── AzureBlobAvroWriterFactory.java │ │ │ │ └── AzureBlobOutputStream.java │ │ │ ├── compression │ │ │ │ ├── Compression.java │ │ │ │ ├── CompressionFactory.java │ │ │ │ ├── CompressionType.java │ │ │ │ ├── GzipCompression.java │ │ │ │ └── NoneCompression.java │ │ │ ├── producer │ │ │ │ ├── AzureBlobSystemProducer.java │ │ │ │ ├── AzureBlobSystemProducerMetrics.java │ │ │ │ ├── AzureBlobWriter.java │ │ │ │ ├── AzureBlobWriterFactory.java │ │ │ │ └── AzureBlobWriterMetrics.java │ │ │ └── utils │ │ │ │ ├── BlobMetadataContext.java │ │ │ │ ├── BlobMetadataGenerator.java │ │ │ │ ├── BlobMetadataGeneratorFactory.java │ │ │ │ ├── NullBlobMetadataGenerator.java │ │ │ │ └── NullBlobMetadataGeneratorFactory.java │ │ └── eventhub │ │ │ ├── EventHubClientManager.java │ │ │ ├── EventHubClientManagerFactory.java │ │ │ ├── EventHubConfig.java │ │ │ ├── EventHubSystemFactory.java │ │ │ ├── Interceptor.java │ │ │ ├── SamzaEventHubClientManager.java │ │ │ ├── admin │ │ │ ├── EventHubSystemAdmin.java │ │ │ └── PassThroughInterceptor.java │ │ │ ├── consumer │ │ │ ├── EventHubIncomingMessageEnvelope.java │ │ │ └── EventHubSystemConsumer.java │ │ │ ├── descriptors │ │ │ ├── EventHubsInputDescriptor.java │ │ │ ├── EventHubsOutputDescriptor.java │ │ │ └── EventHubsSystemDescriptor.java │ │ │ └── producer │ │ │ ├── AsyncSystemProducer.java │ │ │ └── EventHubSystemProducer.java │ │ └── util │ │ ├── BlobUtils.java │ │ ├── LeaseBlobManager.java │ │ └── TableUtils.java │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── samza │ │ ├── checkpoint │ │ └── azure │ │ │ └── ITestAzureCheckpointManager.java │ │ └── system │ │ ├── azureblob │ │ ├── avro │ │ │ ├── TestAzureBlobAvroWriter.java │ │ │ └── TestAzureBlobOutputStream.java │ │ ├── compression │ │ │ └── TestGzipCompression.java │ │ ├── producer │ │ │ └── TestAzureBlobSystemProducer.java │ │ └── utils │ │ │ └── TestNullBlobMetadataGenerator.java │ │ └── eventhub │ │ ├── MockEventData.java │ │ ├── MockEventHubClientManagerFactory.java │ │ ├── MockEventHubConfigFactory.java │ │ ├── TestMetricsRegistry.java │ │ ├── admin │ │ └── TestEventHubSystemAdmin.java │ │ ├── consumer │ │ ├── ITestEventHubSystemConsumer.java │ │ └── TestEventHubSystemConsumer.java │ │ ├── descriptors │ │ ├── TestEventHubsInputDescriptor.java │ │ ├── TestEventHubsOutputDescriptor.java │ │ └── TestEventHubsSystemDescriptor.java │ │ └── producer │ │ ├── ITestEventHubSystemProducer.java │ │ ├── SwapFirstLastByteInterceptor.java │ │ └── TestEventHubSystemProducer.java │ └── resources │ ├── log4j.xml │ └── log4j2.xml ├── samza-core └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── samza │ │ │ ├── application │ │ │ ├── ApplicationUtil.java │ │ │ ├── LegacyTaskApplication.java │ │ │ └── descriptors │ │ │ │ ├── ApplicationDescriptorImpl.java │ │ │ │ ├── ApplicationDescriptorUtil.java │ │ │ │ ├── StreamApplicationDescriptorImpl.java │ │ │ │ └── TaskApplicationDescriptorImpl.java │ │ │ ├── checkpoint │ │ │ └── kafka │ │ │ │ ├── KafkaChangelogSSPOffset.java │ │ │ │ └── KafkaStateCheckpointMarker.java │ │ │ ├── clustermanager │ │ │ ├── ClusterBasedJobCoordinator.java │ │ │ ├── ClusterBasedJobCoordinatorRunner.java │ │ │ ├── ClusterResourceManager.java │ │ │ ├── ContainerAllocator.java │ │ │ ├── ContainerManager.java │ │ │ ├── ContainerProcessManager.java │ │ │ ├── DefaultApplicationMain.java │ │ │ ├── FaultDomain.java │ │ │ ├── FaultDomainManager.java │ │ │ ├── FaultDomainManagerFactory.java │ │ │ ├── FaultDomainType.java │ │ │ ├── JobCoordinatorLaunchUtil.java │ │ │ ├── ProcessorFailure.java │ │ │ ├── ProcessorLaunchException.java │ │ │ ├── ResourceManagerFactory.java │ │ │ ├── ResourceRequestState.java │ │ │ ├── SamzaApplicationState.java │ │ │ ├── SamzaResource.java │ │ │ ├── SamzaResourceRequest.java │ │ │ ├── SamzaResourceStatus.java │ │ │ ├── SingleFaultDomainManager.java │ │ │ ├── SingleFaultDomainManagerFactory.java │ │ │ ├── StandbyContainerManager.java │ │ │ ├── StandbyTaskUtil.java │ │ │ └── container │ │ │ │ └── placement │ │ │ │ ├── ContainerPlacementMessageObjectMapper.java │ │ │ │ ├── ContainerPlacementMetadata.java │ │ │ │ ├── ContainerPlacementMetadataStore.java │ │ │ │ └── ContainerPlacementRequestAllocator.java │ │ │ ├── config │ │ │ ├── ApplicationConfig.java │ │ │ ├── BlobStoreConfig.java │ │ │ ├── ClusterManagerConfig.java │ │ │ ├── DefaultChooserConfig.java │ │ │ ├── EnvironmentConfigRewriter.java │ │ │ ├── FileSystemCheckpointManagerConfig.java │ │ │ ├── InMemorySystemConfig.java │ │ │ ├── JobConfig.java │ │ │ ├── JobCoordinatorConfig.java │ │ │ ├── MetricsConfig.java │ │ │ ├── RunLoopConfig.java │ │ │ ├── SerializerConfig.java │ │ │ ├── ShellCommandConfig.java │ │ │ ├── StorageConfig.java │ │ │ ├── StreamConfig.java │ │ │ ├── SystemConfig.java │ │ │ ├── TaskConfig.java │ │ │ ├── ZkConfig.java │ │ │ └── loaders │ │ │ │ ├── PropertiesConfigLoader.java │ │ │ │ └── PropertiesConfigLoaderFactory.java │ │ │ ├── container │ │ │ ├── ContainerHeartbeatClient.java │ │ │ ├── ContainerHeartbeatMonitor.java │ │ │ ├── ContainerHeartbeatResponse.java │ │ │ ├── ExecutionContainerIdManager.java │ │ │ ├── LocalityManager.java │ │ │ ├── RunLoop.java │ │ │ ├── RunLoopFactory.java │ │ │ ├── RunLoopTask.java │ │ │ ├── SamzaContainerListener.java │ │ │ ├── SamzaContainerMonitorListener.java │ │ │ ├── SamzaContainerStatus.java │ │ │ ├── SecurityManager.java │ │ │ ├── SecurityManagerFactory.java │ │ │ ├── disk │ │ │ │ ├── DiskQuotaPolicy.java │ │ │ │ ├── DiskQuotaPolicyFactory.java │ │ │ │ ├── DiskSpaceMonitor.java │ │ │ │ ├── NoThrottlingDiskQuotaPolicy.java │ │ │ │ ├── NoThrottlingDiskQuotaPolicyFactory.java │ │ │ │ ├── PollingScanDiskSpaceMonitor.java │ │ │ │ ├── WatermarkDiskQuotaPolicy.java │ │ │ │ └── WatermarkDiskQuotaPolicyFactory.java │ │ │ ├── grouper │ │ │ │ ├── stream │ │ │ │ │ ├── AllSspToSingleTaskGrouperFactory.java │ │ │ │ │ ├── GroupByPartition.java │ │ │ │ │ ├── GroupByPartitionFactory.java │ │ │ │ │ ├── GroupBySystemStreamPartition.java │ │ │ │ │ ├── GroupBySystemStreamPartitionFactory.java │ │ │ │ │ ├── HashSystemStreamPartitionMapper.java │ │ │ │ │ ├── HashSystemStreamPartitionMapperFactory.java │ │ │ │ │ └── SSPGrouperProxy.java │ │ │ │ └── task │ │ │ │ │ ├── BalancingTaskNameGrouper.java │ │ │ │ │ ├── GroupByContainerCount.java │ │ │ │ │ ├── GroupByContainerCountFactory.java │ │ │ │ │ ├── GroupByContainerIds.java │ │ │ │ │ ├── GroupByContainerIdsFactory.java │ │ │ │ │ ├── GrouperMetadata.java │ │ │ │ │ ├── GrouperMetadataImpl.java │ │ │ │ │ ├── SingleContainerGrouperFactory.java │ │ │ │ │ ├── TaskAssignmentManager.java │ │ │ │ │ ├── TaskGroup.java │ │ │ │ │ ├── TaskNameGrouper.java │ │ │ │ │ ├── TaskNameGrouperFactory.java │ │ │ │ │ ├── TaskNameGrouperProxy.java │ │ │ │ │ └── TaskPartitionAssignmentManager.java │ │ │ └── host │ │ │ │ ├── DefaultSystemStatisticsGetter.java │ │ │ │ ├── OshiBasedStatisticsGetter.java │ │ │ │ ├── PosixCommandBasedStatisticsGetter.java │ │ │ │ ├── ProcessCPUStatistics.java │ │ │ │ ├── StatisticsMonitorImpl.java │ │ │ │ ├── SystemMemoryStatistics.java │ │ │ │ ├── SystemStatistics.java │ │ │ │ ├── SystemStatisticsGetter.java │ │ │ │ └── SystemStatisticsMonitor.java │ │ │ ├── context │ │ │ ├── ContainerContextImpl.java │ │ │ ├── ContextImpl.java │ │ │ ├── InternalTaskContext.java │ │ │ ├── JobContextImpl.java │ │ │ └── TaskContextImpl.java │ │ │ ├── coordinator │ │ │ ├── ClusterMembership.java │ │ │ ├── CoordinationConstants.java │ │ │ ├── CoordinationUtils.java │ │ │ ├── CoordinationUtilsFactory.java │ │ │ ├── DistributedLock.java │ │ │ ├── InputStreamsDiscoveredException.java │ │ │ ├── JobCoordinator.java │ │ │ ├── JobCoordinatorFactory.java │ │ │ ├── JobCoordinatorListener.java │ │ │ ├── JobModelCalculator.java │ │ │ ├── JobModelHelper.java │ │ │ ├── JobModelMonitors.java │ │ │ ├── LeaderElector.java │ │ │ ├── LeaderElectorListener.java │ │ │ ├── MetadataResourceUtil.java │ │ │ ├── NoProcessorJobCoordinatorListener.java │ │ │ ├── PartitionChangeException.java │ │ │ ├── RunIdGenerator.java │ │ │ ├── StreamPartitionCountMonitor.java │ │ │ ├── StreamPartitionCountMonitorFactory.java │ │ │ ├── StreamRegexMonitor.java │ │ │ ├── StreamRegexMonitorFactory.java │ │ │ ├── communication │ │ │ │ ├── CoordinatorCommunication.java │ │ │ │ ├── CoordinatorCommunicationContext.java │ │ │ │ ├── CoordinatorToWorkerCommunicationFactory.java │ │ │ │ ├── HttpCoordinatorCommunication.java │ │ │ │ ├── HttpCoordinatorToWorkerCommunicationFactory.java │ │ │ │ ├── JobInfoProvider.java │ │ │ │ ├── JobInfoServingContext.java │ │ │ │ └── JobModelHttpServlet.java │ │ │ ├── lifecycle │ │ │ │ ├── NoOpJobRestartSignal.java │ │ │ │ └── NoOpJobRestartSignalFactory.java │ │ │ ├── metadatastore │ │ │ │ ├── CoordinatorStreamMetadataStoreFactory.java │ │ │ │ ├── CoordinatorStreamStore.java │ │ │ │ └── NamespaceAwareCoordinatorStreamStore.java │ │ │ ├── server │ │ │ │ └── LocalityServlet.java │ │ │ ├── staticresource │ │ │ │ ├── StaticResourceJobCoordinator.java │ │ │ │ └── StaticResourceJobCoordinatorFactory.java │ │ │ └── stream │ │ │ │ ├── CoordinatorStreamKeySerde.java │ │ │ │ ├── CoordinatorStreamManager.java │ │ │ │ ├── CoordinatorStreamSystemConsumer.java │ │ │ │ ├── CoordinatorStreamSystemProducer.java │ │ │ │ ├── CoordinatorStreamValueSerde.java │ │ │ │ ├── CoordinatorStreamWriter.java │ │ │ │ └── messages │ │ │ │ ├── CoordinatorStreamMessage.java │ │ │ │ ├── Delete.java │ │ │ │ ├── SetChangelogMapping.java │ │ │ │ ├── SetConfig.java │ │ │ │ ├── SetContainerHostMapping.java │ │ │ │ ├── SetExecutionEnvContainerIdMapping.java │ │ │ │ ├── SetJobCoordinatorMetadataMessage.java │ │ │ │ ├── SetMigrationMetaMessage.java │ │ │ │ ├── SetTaskContainerMapping.java │ │ │ │ ├── SetTaskModeMapping.java │ │ │ │ └── SetTaskPartitionMapping.java │ │ │ ├── drain │ │ │ ├── DrainMonitor.java │ │ │ ├── DrainNotificationObjectMapper.java │ │ │ └── DrainUtils.java │ │ │ ├── environment │ │ │ └── EnvironmentVariables.java │ │ │ ├── execution │ │ │ ├── ExecutionPlan.java │ │ │ ├── ExecutionPlanner.java │ │ │ ├── IntermediateStreamManager.java │ │ │ ├── JobGraph.java │ │ │ ├── JobGraphJsonGenerator.java │ │ │ ├── JobNode.java │ │ │ ├── JobNodeConfigurationGenerator.java │ │ │ ├── JobPlanner.java │ │ │ ├── LocalJobPlanner.java │ │ │ ├── OperatorSpecGraphAnalyzer.java │ │ │ ├── RemoteJobPlanner.java │ │ │ ├── StreamEdge.java │ │ │ └── StreamManager.java │ │ │ ├── executors │ │ │ └── KeyBasedExecutorService.java │ │ │ ├── job │ │ │ ├── ShellCommandBuilder.java │ │ │ ├── metadata │ │ │ │ └── JobCoordinatorMetadataManager.java │ │ │ └── model │ │ │ │ └── JobModelUtil.java │ │ │ ├── logging │ │ │ └── LoggingContextHolder.java │ │ │ ├── metrics │ │ │ ├── BaseServerMetrics.java │ │ │ ├── JmxMetricsAccessor.java │ │ │ ├── JmxUtil.java │ │ │ ├── MetricGroup.java │ │ │ ├── MetricsBase.java │ │ │ └── reporter │ │ │ │ ├── LoggingMetricsReporter.java │ │ │ │ ├── LoggingMetricsReporterConfig.java │ │ │ │ ├── LoggingMetricsReporterFactory.java │ │ │ │ ├── Metrics.java │ │ │ │ ├── MetricsHeader.java │ │ │ │ ├── MetricsSnapshot.java │ │ │ │ ├── MetricsSnapshotReporter.java │ │ │ │ └── MetricsSnapshotReporterFactory.java │ │ │ ├── migration │ │ │ └── MigrationPlan.java │ │ │ ├── operators │ │ │ ├── MessageStreamImpl.java │ │ │ ├── OperatorSpecGraph.java │ │ │ ├── TableImpl.java │ │ │ ├── functions │ │ │ │ └── PartialJoinFunction.java │ │ │ ├── impl │ │ │ │ ├── AsyncFlatmapOperatorImpl.java │ │ │ │ ├── BroadcastOperatorImpl.java │ │ │ │ ├── ControlMessageSender.java │ │ │ │ ├── DrainStates.java │ │ │ │ ├── EndOfStreamStates.java │ │ │ │ ├── FlatmapOperatorImpl.java │ │ │ │ ├── InputOperatorImpl.java │ │ │ │ ├── OperatorImpl.java │ │ │ │ ├── OperatorImplGraph.java │ │ │ │ ├── OutputOperatorImpl.java │ │ │ │ ├── PartialJoinOperatorImpl.java │ │ │ │ ├── PartitionByOperatorImpl.java │ │ │ │ ├── SendToTableOperatorImpl.java │ │ │ │ ├── SendToTableWithUpdateOperatorImpl.java │ │ │ │ ├── SinkOperatorImpl.java │ │ │ │ ├── StreamTableJoinOperatorImpl.java │ │ │ │ ├── TriggerKey.java │ │ │ │ ├── TriggerScheduler.java │ │ │ │ ├── WatermarkMetrics.java │ │ │ │ ├── WatermarkStates.java │ │ │ │ ├── WindowOperatorImpl.java │ │ │ │ └── store │ │ │ │ │ ├── TimeSeriesKey.java │ │ │ │ │ ├── TimeSeriesKeySerde.java │ │ │ │ │ ├── TimeSeriesStore.java │ │ │ │ │ ├── TimeSeriesStoreImpl.java │ │ │ │ │ └── TimestampedValueSerde.java │ │ │ ├── spec │ │ │ │ ├── AsyncFlatMapOperatorSpec.java │ │ │ │ ├── BroadcastOperatorSpec.java │ │ │ │ ├── FilterOperatorSpec.java │ │ │ │ ├── FlatMapOperatorSpec.java │ │ │ │ ├── InputOperatorSpec.java │ │ │ │ ├── JoinOperatorSpec.java │ │ │ │ ├── MapOperatorSpec.java │ │ │ │ ├── MergeOperatorSpec.java │ │ │ │ ├── OperatorSpec.java │ │ │ │ ├── OperatorSpecs.java │ │ │ │ ├── OutputOperatorSpec.java │ │ │ │ ├── OutputStreamImpl.java │ │ │ │ ├── PartitionByOperatorSpec.java │ │ │ │ ├── SendToTableOperatorSpec.java │ │ │ │ ├── SendToTableWithUpdateOperatorSpec.java │ │ │ │ ├── SinkOperatorSpec.java │ │ │ │ ├── StatefulOperatorSpec.java │ │ │ │ ├── StoreDescriptor.java │ │ │ │ ├── StreamOperatorSpec.java │ │ │ │ ├── StreamTableJoinOperatorSpec.java │ │ │ │ ├── WindowOperatorSpec.java │ │ │ │ └── WindowState.java │ │ │ ├── stream │ │ │ │ └── IntermediateMessageStreamImpl.java │ │ │ ├── triggers │ │ │ │ ├── AnyTriggerImpl.java │ │ │ │ ├── Cancellable.java │ │ │ │ ├── CountTriggerImpl.java │ │ │ │ ├── RepeatingTriggerImpl.java │ │ │ │ ├── TimeSinceFirstMessageTriggerImpl.java │ │ │ │ ├── TimeSinceLastMessageTriggerImpl.java │ │ │ │ ├── TimeTriggerImpl.java │ │ │ │ ├── TriggerImpl.java │ │ │ │ └── TriggerImpls.java │ │ │ └── util │ │ │ │ └── InternalInMemoryStore.java │ │ │ ├── processor │ │ │ └── StreamProcessor.java │ │ │ ├── runtime │ │ │ ├── ApplicationRunnerMain.java │ │ │ ├── ApplicationRunnerOperation.java │ │ │ ├── ApplicationRunnerUtil.java │ │ │ ├── ApplicationRunners.java │ │ │ ├── ClusterBasedProcessorLifecycleListener.java │ │ │ ├── ContainerLaunchUtil.java │ │ │ ├── DefaultLocationIdProviderFactory.java │ │ │ ├── LocalApplicationRunner.java │ │ │ ├── LocalContainerRunner.java │ │ │ ├── RemoteApplicationRunner.java │ │ │ └── UUIDGenerator.java │ │ │ ├── scheduler │ │ │ ├── CallbackSchedulerImpl.java │ │ │ └── EpochTimeScheduler.java │ │ │ ├── serializers │ │ │ ├── CheckpointV2Serde.java │ │ │ ├── IntermediateMessageSerde.java │ │ │ ├── JsonCheckpoint.java │ │ │ └── model │ │ │ │ ├── JsonCheckpointV2Mixin.java │ │ │ │ ├── JsonContainerModelMixIn.java │ │ │ │ ├── JsonJobCoordinatorMetadataMixIn.java │ │ │ │ ├── JsonJobModelMixIn.java │ │ │ │ ├── JsonLocalityModelMixIn.java │ │ │ │ ├── JsonProcessorLocalityMixIn.java │ │ │ │ ├── JsonTaskModelMixIn.java │ │ │ │ ├── KafkaStateCheckpointMarkerMixin.java │ │ │ │ └── SamzaObjectMapper.java │ │ │ ├── standalone │ │ │ ├── PassthroughCoordinationUtilsFactory.java │ │ │ ├── PassthroughJobCoordinator.java │ │ │ └── PassthroughJobCoordinatorFactory.java │ │ │ ├── startpoint │ │ │ ├── StartpointFanOutPerTask.java │ │ │ ├── StartpointManager.java │ │ │ └── StartpointObjectMapper.java │ │ │ ├── storage │ │ │ ├── ChangelogStreamManager.java │ │ │ ├── KafkaChangelogStateBackendFactory.java │ │ │ ├── NonTransactionalStateTaskRestoreManager.java │ │ │ ├── SideInputTask.java │ │ │ ├── StateStorageTool.java │ │ │ ├── StorageManagerUtil.java │ │ │ ├── StorageRecovery.java │ │ │ ├── TaskSideInputHandler.java │ │ │ ├── TaskSideInputStorageManager.java │ │ │ ├── TaskStorageCommitManager.java │ │ │ ├── TransactionalStateTaskRestoreManager.java │ │ │ └── blobstore │ │ │ │ ├── BlobStoreBackupManager.java │ │ │ │ ├── BlobStoreRestoreManager.java │ │ │ │ ├── BlobStoreStateBackendFactory.java │ │ │ │ ├── diff │ │ │ │ └── DirDiff.java │ │ │ │ ├── index │ │ │ │ ├── DirIndex.java │ │ │ │ ├── FileBlob.java │ │ │ │ ├── FileIndex.java │ │ │ │ ├── FileMetadata.java │ │ │ │ ├── SnapshotIndex.java │ │ │ │ ├── SnapshotMetadata.java │ │ │ │ └── serde │ │ │ │ │ ├── JsonDirIndexMixin.java │ │ │ │ │ ├── JsonFileBlobMixin.java │ │ │ │ │ ├── JsonFileIndexMixin.java │ │ │ │ │ ├── JsonFileMetadataMixin.java │ │ │ │ │ ├── JsonSnapshotIndexMixin.java │ │ │ │ │ ├── JsonSnapshotMetadataMixin.java │ │ │ │ │ └── SnapshotIndexSerde.java │ │ │ │ ├── metrics │ │ │ │ ├── BlobStoreBackupManagerMetrics.java │ │ │ │ └── BlobStoreRestoreManagerMetrics.java │ │ │ │ └── util │ │ │ │ ├── BlobStoreUtil.java │ │ │ │ └── DirDiffUtil.java │ │ │ ├── system │ │ │ ├── SystemAdmins.java │ │ │ ├── descriptors │ │ │ │ └── DelegatingSystemDescriptor.java │ │ │ └── inmemory │ │ │ │ ├── InMemoryManager.java │ │ │ │ ├── InMemorySystemAdmin.java │ │ │ │ ├── InMemorySystemConsumer.java │ │ │ │ ├── InMemorySystemFactory.java │ │ │ │ └── InMemorySystemProducer.java │ │ │ ├── table │ │ │ ├── BaseReadWriteUpdateTable.java │ │ │ ├── BaseTableProvider.java │ │ │ ├── ReadWriteTableDelegate.java │ │ │ ├── TableConfigGenerator.java │ │ │ ├── TableManager.java │ │ │ ├── batching │ │ │ │ ├── AbstractBatch.java │ │ │ │ ├── AsyncBatchingTable.java │ │ │ │ ├── BatchHandler.java │ │ │ │ ├── BatchMetrics.java │ │ │ │ ├── BatchProcessor.java │ │ │ │ ├── BatchingNotSupportedException.java │ │ │ │ ├── CompactBatch.java │ │ │ │ ├── CompactBatchProvider.java │ │ │ │ ├── CompleteBatch.java │ │ │ │ ├── CompleteBatchProvider.java │ │ │ │ ├── DeleteOperation.java │ │ │ │ ├── GetOperation.java │ │ │ │ ├── PutOperation.java │ │ │ │ ├── TableBatchHandler.java │ │ │ │ └── UpdateOperation.java │ │ │ ├── caching │ │ │ │ ├── CachingTable.java │ │ │ │ ├── CachingTableProvider.java │ │ │ │ ├── CachingTableProviderFactory.java │ │ │ │ ├── SupplierGauge.java │ │ │ │ └── guava │ │ │ │ │ ├── GuavaCacheTable.java │ │ │ │ │ ├── GuavaCacheTableProvider.java │ │ │ │ │ └── GuavaCacheTableProviderFactory.java │ │ │ ├── ratelimit │ │ │ │ └── AsyncRateLimitedTable.java │ │ │ ├── remote │ │ │ │ ├── AsyncRemoteTable.java │ │ │ │ ├── NoOpTableReadFunction.java │ │ │ │ ├── RemoteTable.java │ │ │ │ ├── RemoteTableProvider.java │ │ │ │ └── RemoteTableProviderFactory.java │ │ │ ├── retry │ │ │ │ ├── AsyncRetriableTable.java │ │ │ │ ├── FailsafeAdapter.java │ │ │ │ └── RetryMetrics.java │ │ │ └── utils │ │ │ │ ├── TableMetrics.java │ │ │ │ └── TableMetricsUtil.java │ │ │ ├── task │ │ │ ├── AsyncStreamTaskAdapter.java │ │ │ ├── CoordinatorRequests.java │ │ │ ├── DefaultTaskExecutorFactory.java │ │ │ ├── StreamOperatorTask.java │ │ │ ├── TaskCallbackFactory.java │ │ │ ├── TaskCallbackImpl.java │ │ │ ├── TaskCallbackListener.java │ │ │ ├── TaskCallbackManager.java │ │ │ └── TaskFactoryUtil.java │ │ │ ├── testUtils │ │ │ ├── TestClock.java │ │ │ └── TestUtils.java │ │ │ ├── util │ │ │ ├── BoundedLinkedHashSet.java │ │ │ ├── ConfigUtil.java │ │ │ ├── DiagnosticsUtil.java │ │ │ ├── EmbeddedTaggedRateLimiter.java │ │ │ ├── FutureUtil.java │ │ │ ├── HighResolutionClock.java │ │ │ ├── MathUtil.java │ │ │ ├── MetricsReporterLoader.java │ │ │ ├── ReflectionUtil.java │ │ │ ├── RetryPolicyConfig.java │ │ │ ├── SamzaUncaughtExceptionHandler.java │ │ │ ├── ShutdownUtil.java │ │ │ ├── StreamUtil.java │ │ │ ├── SystemClock.java │ │ │ ├── SystemHighResolutionClock.java │ │ │ ├── ThreadUtil.java │ │ │ ├── Throttleable.java │ │ │ ├── ThrottlingExecutor.java │ │ │ ├── ThrottlingScheduler.java │ │ │ └── Util.java │ │ │ └── zk │ │ │ ├── ProcessorData.java │ │ │ ├── ScheduleAfterDebounceTime.java │ │ │ ├── ZkBarrierForVersionUpgrade.java │ │ │ ├── ZkBarrierListener.java │ │ │ ├── ZkClusterMembership.java │ │ │ ├── ZkCoordinationUtils.java │ │ │ ├── ZkCoordinationUtilsFactory.java │ │ │ ├── ZkDistributedLock.java │ │ │ ├── ZkJobCoordinator.java │ │ │ ├── ZkJobCoordinatorFactory.java │ │ │ ├── ZkJobCoordinatorMetrics.java │ │ │ ├── ZkKeyBuilder.java │ │ │ ├── ZkLeaderElector.java │ │ │ ├── ZkMetadataStore.java │ │ │ ├── ZkMetadataStoreFactory.java │ │ │ ├── ZkProcessorLatch.java │ │ │ ├── ZkSessionMetrics.java │ │ │ ├── ZkStringSerializer.java │ │ │ ├── ZkUtils.java │ │ │ └── ZkUtilsMetrics.java │ └── scala │ │ └── org │ │ └── apache │ │ └── samza │ │ ├── checkpoint │ │ ├── CheckpointTool.scala │ │ ├── OffsetManager.scala │ │ ├── OffsetManagerMetrics.scala │ │ └── file │ │ │ └── FileSystemCheckpointManager.scala │ │ ├── config │ │ ├── RegExTopicGenerator.scala │ │ ├── ScalaMapConfig.scala │ │ └── factories │ │ │ └── PropertiesConfigFactory.scala │ │ ├── container │ │ ├── SameThreadExecutor.scala │ │ ├── SamzaContainer.scala │ │ ├── SamzaContainerMetrics.scala │ │ ├── TaskInstance.scala │ │ ├── TaskInstanceExceptionHandler.scala │ │ └── TaskInstanceMetrics.scala │ │ ├── coordinator │ │ ├── JobModelManager.scala │ │ ├── Latch.java │ │ ├── server │ │ │ ├── HttpServer.scala │ │ │ └── JobServlet.scala │ │ └── stream │ │ │ └── CoordinatorStreamWriterCommandLine.scala │ │ ├── diagnostics │ │ ├── BoundedList.java │ │ ├── DiagnosticsExceptionEvent.java │ │ ├── DiagnosticsManager.java │ │ ├── DiagnosticsStreamMessage.java │ │ └── ProcessorStopEvent.java │ │ ├── job │ │ ├── JobRunner.scala │ │ └── local │ │ │ ├── ProcessJob.scala │ │ │ ├── ProcessJobFactory.scala │ │ │ ├── ThreadJob.scala │ │ │ └── ThreadJobFactory.scala │ │ ├── metrics │ │ ├── ContainerProcessManagerMetrics.scala │ │ ├── JmxServer.scala │ │ ├── JvmMetrics.scala │ │ ├── MetricsHelper.scala │ │ ├── MetricsRegistryMap.scala │ │ └── reporter │ │ │ └── JmxReporter.scala │ │ ├── serializers │ │ ├── CheckpointV1Serde.scala │ │ ├── JsonSerde.scala │ │ ├── MetricsSnapshotSerde.scala │ │ ├── MetricsSnapshotSerdeV2.java │ │ ├── MetricsSnapshotSerdeV2Factory.java │ │ └── SerdeManager.scala │ │ ├── storage │ │ ├── ContainerStorageManager.java │ │ ├── ContainerStorageManagerRestoreUtil.java │ │ ├── ContainerStorageManagerUtil.java │ │ ├── KafkaNonTransactionalStateTaskBackupManager.scala │ │ ├── KafkaTransactionalStateTaskBackupManager.scala │ │ └── SideInputsManager.java │ │ ├── system │ │ ├── RangeSystemStreamPartitionMatcher.scala │ │ ├── RegexSystemStreamPartitionMatcher.scala │ │ ├── SSPMetadataCache.java │ │ ├── StreamMetadataCache.scala │ │ ├── SystemConsumers.scala │ │ ├── SystemConsumersMetrics.scala │ │ ├── SystemProducers.scala │ │ ├── SystemProducersMetrics.scala │ │ ├── chooser │ │ │ ├── BatchingChooser.scala │ │ │ ├── BootstrappingChooser.scala │ │ │ ├── DefaultChooser.scala │ │ │ ├── RoundRobinChooser.scala │ │ │ └── TieredPriorityChooser.scala │ │ └── filereader │ │ │ ├── FileReaderSystemAdmin.scala │ │ │ ├── FileReaderSystemConsumer.scala │ │ │ └── FileReaderSystemFactory.scala │ │ ├── task │ │ ├── ReadableCoordinator.scala │ │ └── TaskInstanceCollector.scala │ │ └── util │ │ ├── CommandLine.scala │ │ ├── CoordinatorStreamConfigFactory.java │ │ ├── CoordinatorStreamUtil.scala │ │ ├── DefaultCoordinatorStreamConfigFactory.java │ │ ├── ExponentialSleepStrategy.scala │ │ ├── FileUtil.scala │ │ ├── HttpUtil.scala │ │ ├── Logging.scala │ │ ├── ScalaJavaUtil.scala │ │ └── TimerUtil.scala │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── samza │ │ ├── application │ │ ├── MockStreamApplication.java │ │ ├── TestApplicationUtil.java │ │ └── descriptors │ │ │ ├── TestStreamApplicationDescriptorImpl.java │ │ │ └── TestTaskApplicationDescriptorImpl.java │ │ ├── checkpoint │ │ └── kafka │ │ │ ├── TestKafkaChangelogSSPOffset.java │ │ │ └── TestKafkaStateCheckpointMarker.java │ │ ├── clustermanager │ │ ├── MockClusterResourceManager.java │ │ ├── MockClusterResourceManagerCallback.java │ │ ├── MockClusterResourceManagerFactory.java │ │ ├── MockContainerAllocatorWithHostAffinity.java │ │ ├── MockContainerAllocatorWithoutHostAffinity.java │ │ ├── MockContainerListener.java │ │ ├── MockContainerRequestState.java │ │ ├── MockFaultDomainManager.java │ │ ├── MockFaultDomainManagerFactory.java │ │ ├── TestClusterBasedJobCoordinator.java │ │ ├── TestClusterBasedJobCoordinatorRunner.java │ │ ├── TestContainerAllocatorWithHostAffinity.java │ │ ├── TestContainerAllocatorWithoutHostAffinity.java │ │ ├── TestContainerPlacementActions.java │ │ ├── TestContainerProcessManager.java │ │ ├── TestContainerRequestState.java │ │ ├── TestDefaultApplicationMain.java │ │ ├── TestJobCoordinatorLaunchUtil.java │ │ ├── TestStandbyAllocator.java │ │ └── container │ │ │ └── placement │ │ │ ├── TestContainerPlacementMetadataStore.java │ │ │ └── TestContainerPlacementObjectMapper.java │ │ ├── config │ │ ├── EnvironmentConfigRewriterTest.java │ │ ├── TestApplicationConfig.java │ │ ├── TestFileSystemCheckpointManagerConfig.java │ │ ├── TestJavaTableConfig.java │ │ ├── TestJobConfig.java │ │ ├── TestJobCoordinatorConfig.java │ │ ├── TestMetricsConfig.java │ │ ├── TestRunLoopConfig.java │ │ ├── TestSerializerConfig.java │ │ ├── TestShellCommandConfig.java │ │ ├── TestStorageConfig.java │ │ ├── TestStreamConfig.java │ │ ├── TestSystemConfig.java │ │ ├── TestTaskConfig.java │ │ └── loaders │ │ │ └── TestPropertiesConfigLoader.java │ │ ├── container │ │ ├── TestContainerHeartbeatClient.java │ │ ├── TestContainerHeartbeatMonitor.java │ │ ├── TestExecutionContainerIdManager.java │ │ ├── TestLocalityManager.java │ │ ├── TestRunLoop.java │ │ ├── TestSamzaContainerMonitorListener.java │ │ ├── TestSamzaUncaughtExceptionHandler.java │ │ ├── disk │ │ │ ├── TestDiskQuotaPolicyEntry.java │ │ │ ├── TestPollingScanDiskSpaceMonitor.java │ │ │ └── TestWatermarkDiskQuotaPolicy.java │ │ ├── grouper │ │ │ ├── stream │ │ │ │ ├── TestAllSspToSingleTaskGrouper.java │ │ │ │ ├── TestGroupByPartition.java │ │ │ │ ├── TestGroupByPartitionWithGrouperProxy.java │ │ │ │ ├── TestGroupBySystemStreamPartition.java │ │ │ │ └── TestGroupBySystemStreamPartitionWithGrouperProxy.java │ │ │ └── task │ │ │ │ ├── TestGroupByContainerCount.java │ │ │ │ ├── TestGroupByContainerIds.java │ │ │ │ ├── TestTaskAssignmentManager.java │ │ │ │ ├── TestTaskNameGrouperProxy.java │ │ │ │ └── TestTaskPartitionAssignmentManager.java │ │ ├── host │ │ │ ├── TestDefaultSystemStatisticsGetter.java │ │ │ ├── TestOshiBasedStatisticsGetter.java │ │ │ └── TestStatisticsMonitorImpl.java │ │ └── mock │ │ │ └── ContainerMocks.java │ │ ├── context │ │ ├── MockContext.java │ │ ├── TestContextImpl.java │ │ ├── TestInternalTaskContext.java │ │ └── TestTaskContextImpl.java │ │ ├── coordinator │ │ ├── JobModelManagerTestUtil.java │ │ ├── TestJobModelCalculator.java │ │ ├── TestJobModelHelper.java │ │ ├── TestJobModelMonitors.java │ │ ├── TestMetadataResourceUtil.java │ │ ├── TestNoProcessorJobCoordinatorListener.java │ │ ├── TestRunIdGenerator.java │ │ ├── communication │ │ │ ├── TestHttpCoordinatorCommunication.java │ │ │ ├── TestJobModelHttpServlet.java │ │ │ └── TestJobModelServingContext.java │ │ ├── metadatastore │ │ │ ├── CoordinatorStreamStoreTestUtil.java │ │ │ ├── TestCoordinatorStreamStore.java │ │ │ └── TestNamespaceAwareCoordinatorStreamStore.java │ │ ├── staticresource │ │ │ └── TestStaticResourceJobCoordinator.java │ │ └── stream │ │ │ ├── MockCoordinatorStreamSystemFactory.java │ │ │ ├── MockCoordinatorStreamWrappedConsumer.java │ │ │ ├── TestCoordinatorStreamMessage.java │ │ │ ├── TestCoordinatorStreamSystemConsumer.java │ │ │ ├── TestCoordinatorStreamSystemProducer.java │ │ │ └── TestCoordinatorStreamWriter.java │ │ ├── diagnostics │ │ ├── TestDiagnosticsManager.java │ │ └── TestDiagnosticsStreamMessage.java │ │ ├── drain │ │ ├── DrainMonitorTests.java │ │ ├── DrainNotificationObjectMapperTests.java │ │ └── DrainUtilsTests.java │ │ ├── execution │ │ ├── ExecutionPlannerTestBase.java │ │ ├── TestExecutionPlanner.java │ │ ├── TestIntermediateStreamManager.java │ │ ├── TestJobGraph.java │ │ ├── TestJobGraphJsonGenerator.java │ │ ├── TestJobNodeConfigurationGenerator.java │ │ ├── TestJobPlanner.java │ │ ├── TestLocalJobPlanner.java │ │ ├── TestRemoteJobPlanner.java │ │ ├── TestStreamEdge.java │ │ └── TestStreamManager.java │ │ ├── executors │ │ └── TestKeyBasedExecutorService.java │ │ ├── job │ │ ├── TestShellCommandBuilder.java │ │ ├── metadata │ │ │ └── TestJobCoordinatorMetadataManager.java │ │ └── model │ │ │ ├── TestJobModel.java │ │ │ └── TestJobModelUtil.java │ │ ├── logging │ │ └── TestLoggingContextHolder.java │ │ ├── metrics │ │ ├── TestJmxMetricsAccessor.java │ │ └── reporter │ │ │ ├── TestLoggingMetricsReporter.java │ │ │ ├── TestLoggingMetricsReporterConfig.java │ │ │ ├── TestMetrics.java │ │ │ ├── TestMetricsHeader.java │ │ │ ├── TestMetricsSnapshot.java │ │ │ ├── TestMetricsSnapshotReporter.java │ │ │ └── TestMetricsSnapshotReporterFactory.java │ │ ├── operators │ │ ├── TestJoinOperator.java │ │ ├── TestMessageStreamImpl.java │ │ ├── TestOperatorSpecGraph.java │ │ ├── data │ │ │ ├── TestMessageEnvelope.java │ │ │ └── TestOutputMessageEnvelope.java │ │ ├── impl │ │ │ ├── TestAsyncFlatmapOperatorImpl.java │ │ │ ├── TestControlMessageSender.java │ │ │ ├── TestEndOfStreamStates.java │ │ │ ├── TestFlatmapOperatorImpl.java │ │ │ ├── TestInputOperatorImpl.java │ │ │ ├── TestOperatorImpl.java │ │ │ ├── TestOperatorImplGraph.java │ │ │ ├── TestSinkOperatorImpl.java │ │ │ ├── TestStreamTableJoinOperatorImpl.java │ │ │ ├── TestWatermarkStates.java │ │ │ ├── TestWindowOperator.java │ │ │ └── store │ │ │ │ ├── TestInMemoryStore.java │ │ │ │ ├── TestTimeSeriesKeySerde.java │ │ │ │ ├── TestTimeSeriesStoreImpl.java │ │ │ │ └── TestTimestampedValueSerde.java │ │ └── spec │ │ │ ├── OperatorSpecTestUtils.java │ │ │ ├── TestOperatorSpec.java │ │ │ ├── TestPartitionByOperatorSpec.java │ │ │ └── TestWindowOperatorSpec.java │ │ ├── processor │ │ └── TestStreamProcessor.java │ │ ├── runtime │ │ ├── MockProcessorIdGenerator.java │ │ ├── TestApplicationRunnerMain.java │ │ ├── TestApplicationRunners.java │ │ ├── TestClusterBasedProcessorLifecycleListener.java │ │ ├── TestContainerLaunchUtil.java │ │ ├── TestLocalApplicationRunner.java │ │ └── TestRemoteApplicationRunner.java │ │ ├── scheduler │ │ ├── TestCallbackSchedulerImpl.java │ │ └── TestEpochTimeScheduler.java │ │ ├── serializers │ │ ├── TestCheckpointV2Serde.java │ │ ├── TestMetricsSnapshotSerde.java │ │ └── model │ │ │ ├── TestSamzaObjectMapper.java │ │ │ └── serializers │ │ │ ├── TestIntermediateMessageSerde.java │ │ │ └── TestMetricsSnapshotSerdeV2.java │ │ ├── startpoint │ │ ├── StartpointManagerTestUtil.java │ │ ├── StartpointMock.java │ │ ├── TestStartpointManager.java │ │ └── TestStartpointObjectMapper.java │ │ ├── storage │ │ ├── MockStorageEngine.java │ │ ├── MockStorageEngineFactory.java │ │ ├── TestChangelogStreamManager.java │ │ ├── TestKafkaChangelogStateBackendFactory.java │ │ ├── TestStorageRecovery.java │ │ ├── TestTaskSideInputHandler.java │ │ ├── TestTaskSideInputStorageManager.java │ │ ├── TestTaskStorageCommitManager.java │ │ ├── TestTransactionalStateTaskRestoreManager.java │ │ └── blobstore │ │ │ ├── TestBlobStoreBackupManager.java │ │ │ ├── TestBlobStoreRestoreManager.java │ │ │ ├── index │ │ │ └── TestDirIndex.java │ │ │ ├── serde │ │ │ └── TestSnapshotIndexSerde.java │ │ │ └── util │ │ │ ├── BlobStoreTestUtil.java │ │ │ ├── TestBlobStoreUtil.java │ │ │ ├── TestDirDiffUtil.java │ │ │ ├── TestDirDiffUtilAreSameFile.java │ │ │ └── TestDirDiffUtilMisc.java │ │ ├── system │ │ ├── MockSystemFactory.java │ │ ├── TestSSPMetadataCache.java │ │ └── inmemory │ │ │ ├── TestInMemoryManager.java │ │ │ ├── TestInMemorySystem.java │ │ │ ├── TestInMemorySystemAdmin.java │ │ │ ├── TestInMemorySystemConsumer.java │ │ │ └── TestInMemorySystemProducer.java │ │ ├── table │ │ ├── TestTableConfigGenerator.java │ │ ├── TestTableManager.java │ │ ├── batching │ │ │ ├── TestBatchProcessor.java │ │ │ └── TestBatchTable.java │ │ ├── caching │ │ │ └── TestCachingTable.java │ │ ├── descriptors │ │ │ └── TestLocalTableDescriptor.java │ │ ├── ratelimit │ │ │ └── TestAsyncRateLimitedTable.java │ │ ├── remote │ │ │ ├── TestAsyncRemoteTable.java │ │ │ ├── TestRemoteTable.java │ │ │ └── descriptors │ │ │ │ └── TestRemoteTableDescriptor.java │ │ └── retry │ │ │ ├── TestAsyncRetriableTable.java │ │ │ └── TestTableRetryPolicy.java │ │ ├── task │ │ ├── IdentityStreamTask.java │ │ ├── MockAsyncStreamTask.java │ │ ├── MockStreamTask.java │ │ ├── TestAsyncStreamAdapter.java │ │ ├── TestCoordinatorRequests.java │ │ ├── TestDefaultTaskExecutorFactory.java │ │ ├── TestStreamOperatorTask.java │ │ ├── TestTaskCallbackImpl.java │ │ ├── TestTaskCallbackManager.java │ │ └── TestTaskFactoryUtil.java │ │ ├── testUtils │ │ ├── EmbeddedZookeeper.java │ │ ├── FileUtil.java │ │ ├── MockHttpServer.java │ │ └── StreamTestUtils.java │ │ ├── util │ │ ├── TestConfigUtil.java │ │ ├── TestDefaultCoordinatorStreamConfigFactory.java │ │ ├── TestDiagnosticsUtil.java │ │ ├── TestEmbeddedTaggedRateLimiter.java │ │ ├── TestFutureUtil.java │ │ ├── TestMathUtils.java │ │ ├── TestReflectionUtil.java │ │ ├── TestShutdownUtil.java │ │ ├── TestStreamUtil.java │ │ ├── TestThrottlingExecutor.java │ │ ├── TestThrottlingScheduler.java │ │ └── TestUtil.java │ │ └── zk │ │ ├── TestScheduleAfterDebounceTime.java │ │ ├── TestZkBarrierForVersionUpgrade.java │ │ ├── TestZkClusterMembership.java │ │ ├── TestZkDistributedLock.java │ │ ├── TestZkJobCoordinator.java │ │ ├── TestZkKeyBuilder.java │ │ ├── TestZkLeaderElector.java │ │ ├── TestZkMetadataStore.java │ │ ├── TestZkNamespace.java │ │ ├── TestZkProcessorLatch.java │ │ ├── TestZkStringSerializer.java │ │ └── TestZkUtils.java │ ├── resources │ ├── classloader │ │ ├── classpath │ │ │ ├── placeholder-jar.jar │ │ │ ├── placeholder-txt.json │ │ │ └── placeholder-war.war │ │ └── samza-framework-api-classes.txt │ ├── empty.txt │ ├── moreEnter.txt │ ├── noEnter.txt │ ├── oneEnter.txt │ ├── scalate │ │ └── css │ │ │ └── ropa-sans.css │ ├── test-migration-fail.properties │ ├── test.properties │ └── twoEnter.txt │ └── scala │ └── org │ └── apache │ └── samza │ ├── checkpoint │ ├── TestCheckpointTool.scala │ ├── TestOffsetManager.scala │ └── file │ │ └── TestFileSystemCheckpointManager.scala │ ├── config │ ├── TestRegExTopicGenerator.scala │ └── factories │ │ └── TestPropertiesConfigFactory.scala │ ├── container │ ├── TestSamzaContainer.scala │ ├── TestTaskInstance.scala │ └── TestTaskInstanceExceptionHandler.scala │ ├── coordinator │ ├── TestInputRegexMonitor.java │ ├── TestJobModelManager.scala │ ├── TestStreamPartitionCountMonitor.scala │ └── server │ │ └── TestHttpServer.scala │ ├── job │ ├── TestJobRunner.scala │ └── local │ │ ├── TestProcessJob.scala │ │ └── TestThreadJob.scala │ ├── metrics │ ├── TestBoundedList.java │ ├── TestJmxServer.scala │ ├── TestMetricsHelper.scala │ └── reporter │ │ └── TestJmxReporter.scala │ ├── processor │ └── StreamProcessorTestUtils.scala │ ├── serializers │ ├── TestCheckpointV1Serde.scala │ ├── TestJsonSerde.scala │ └── TestSerdeManager.scala │ ├── storage │ └── TestContainerStorageManager.java │ ├── system │ ├── TestRangeSystemStreamPartitionMatcher.scala │ ├── TestRegexSystemStreamPartitionMatcher.scala │ ├── TestStreamMetadataCache.scala │ ├── TestSystemConsumers.scala │ ├── TestSystemProducers.scala │ ├── chooser │ │ ├── MockMessageChooser.scala │ │ ├── MockSystemAdmin.scala │ │ ├── TestBatchingChooser.scala │ │ ├── TestBootstrappingChooser.scala │ │ ├── TestDefaultChooser.scala │ │ ├── TestRoundRobinChooser.scala │ │ └── TestTieredPriorityChooser.scala │ └── filereader │ │ ├── TestFileReaderSystemAdmin.scala │ │ ├── TestFileReaderSystemConsumer.scala │ │ └── TestFileReaderSystemFactory.scala │ ├── task │ └── TestReadableCoordinator.scala │ └── util │ ├── TestCoordinatorStreamUtil.scala │ ├── TestExponentialSleepStrategy.scala │ └── TestFileUtil.scala ├── samza-elasticsearch └── src │ ├── main │ └── java │ │ └── org │ │ └── apache │ │ └── samza │ │ ├── config │ │ └── ElasticsearchConfig.java │ │ └── system │ │ └── elasticsearch │ │ ├── BulkProcessorFactory.java │ │ ├── ElasticsearchSystemAdmin.java │ │ ├── ElasticsearchSystemFactory.java │ │ ├── ElasticsearchSystemProducer.java │ │ ├── ElasticsearchSystemProducerMetrics.java │ │ ├── client │ │ ├── ClientFactory.java │ │ ├── NodeClientFactory.java │ │ └── TransportClientFactory.java │ │ └── indexrequest │ │ ├── DefaultIndexRequestFactory.java │ │ └── IndexRequestFactory.java │ └── test │ └── java │ └── org │ └── apache │ └── samza │ ├── config │ └── ElasticsearchConfigTest.java │ └── system │ └── elasticsearch │ ├── ElasticsearchSystemProducerMetricsTest.java │ ├── ElasticsearchSystemProducerTest.java │ └── indexrequest │ └── DefaultIndexRequestFactoryTest.java ├── samza-hdfs └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── samza │ │ │ └── system │ │ │ └── hdfs │ │ │ ├── HdfsSystemAdmin.java │ │ │ ├── HdfsSystemConsumer.java │ │ │ ├── PartitionDescriptorUtil.java │ │ │ ├── descriptors │ │ │ ├── HdfsInputDescriptor.java │ │ │ ├── HdfsOutputDescriptor.java │ │ │ └── HdfsSystemDescriptor.java │ │ │ ├── partitioner │ │ │ ├── DirectoryPartitioner.java │ │ │ ├── FileSystemAdapter.java │ │ │ └── HdfsFileSystemAdapter.java │ │ │ └── reader │ │ │ ├── AvroFileHdfsReader.java │ │ │ ├── HdfsReaderFactory.java │ │ │ ├── MultiFileHdfsReader.java │ │ │ └── SingleFileHdfsReader.java │ └── scala │ │ └── org │ │ └── apache │ │ └── samza │ │ └── system │ │ └── hdfs │ │ ├── HdfsConfig.scala │ │ ├── HdfsSystemFactory.scala │ │ ├── HdfsSystemProducer.scala │ │ ├── HdfsSystemProducerMetrics.scala │ │ └── writer │ │ ├── AvroDataFileHdfsWriter.scala │ │ ├── BinarySequenceFileHdfsWriter.scala │ │ ├── Bucketer.scala │ │ ├── HdfsWriter.scala │ │ ├── JobNameDateTimeBucketer.scala │ │ ├── SequenceFileHdfsWriter.scala │ │ └── TextSequenceFileHdfsWriter.scala │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── samza │ │ └── system │ │ └── hdfs │ │ ├── TestHdfsSystemConsumer.java │ │ ├── TestPartitionDesctiptorUtil.java │ │ ├── descriptors │ │ └── TestHdfsSystemDescriptor.java │ │ ├── partitioner │ │ ├── TestDirectoryPartitioner.java │ │ └── TestHdfsFileSystemAdapter.java │ │ └── reader │ │ ├── TestAvroFileHdfsReader.java │ │ └── TestMultiFileHdfsReader.java │ ├── resources │ ├── integTest │ │ └── emptyTestFile │ ├── partitioner │ │ ├── subfolder │ │ │ └── testfile002 │ │ ├── testfile01 │ │ └── testfile02 │ ├── reader │ │ └── TestEvent.avsc │ ├── samza-hdfs-test-batch-job-avro.properties │ ├── samza-hdfs-test-batch-job-text.properties │ ├── samza-hdfs-test-batch-job.properties │ ├── samza-hdfs-test-job-avro.properties │ ├── samza-hdfs-test-job-text.properties │ └── samza-hdfs-test-job.properties │ └── scala │ └── org │ └── apache │ └── samza │ └── system │ └── hdfs │ └── TestHdfsSystemProducerTestSuite.scala ├── samza-kafka └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── samza │ │ │ ├── checkpoint │ │ │ └── kafka │ │ │ │ ├── KafkaCheckpointLogKey.java │ │ │ │ └── KafkaCheckpointLogKeySerde.java │ │ │ ├── config │ │ │ └── KafkaConsumerConfig.java │ │ │ ├── system │ │ │ └── kafka │ │ │ │ ├── KafkaConsumerProxy.java │ │ │ │ ├── KafkaConsumerProxyFactory.java │ │ │ │ ├── KafkaStreamSpec.java │ │ │ │ ├── KafkaSystemAdmin.java │ │ │ │ ├── KafkaSystemConsumer.java │ │ │ │ └── descriptors │ │ │ │ ├── KafkaInputDescriptor.java │ │ │ │ ├── KafkaOutputDescriptor.java │ │ │ │ └── KafkaSystemDescriptor.java │ │ │ └── util │ │ │ └── KafkaUtil.java │ └── scala │ │ └── org │ │ └── apache │ │ └── samza │ │ ├── checkpoint │ │ └── kafka │ │ │ ├── KafkaCheckpointManager.scala │ │ │ └── KafkaCheckpointManagerFactory.scala │ │ ├── config │ │ └── KafkaConfig.scala │ │ └── system │ │ └── kafka │ │ ├── KafkaSystemConsumerMetrics.scala │ │ ├── KafkaSystemFactory.scala │ │ ├── KafkaSystemProducer.scala │ │ └── KafkaSystemProducerMetrics.scala │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── samza │ │ ├── checkpoint │ │ └── kafka │ │ │ ├── TestKafkaCheckpointLogKeySerde.java │ │ │ └── TestKafkaCheckpointManager.java │ │ ├── config │ │ └── TestKafkaConsumerConfig.java │ │ ├── storage │ │ ├── TestTaskStorageManager.scala │ │ └── TestTransactionalStateTaskBackupManager.java │ │ ├── system │ │ └── kafka │ │ │ ├── MockKafkaProducer.java │ │ │ ├── TestKafkaCheckpointManagerFactory.java │ │ │ ├── TestKafkaStreamSpec.java │ │ │ ├── TestKafkaSystemAdminJava.java │ │ │ ├── TestKafkaSystemAdminWithMock.java │ │ │ ├── TestKafkaSystemConsumer.java │ │ │ ├── TestKafkaSystemConsumerMetrics.java │ │ │ ├── TestKafkaSystemFactoryJava.java │ │ │ ├── TestKafkaSystemProducerJava.java │ │ │ └── descriptors │ │ │ ├── TestKafkaInputDescriptor.java │ │ │ └── TestKafkaSystemDescriptor.java │ │ └── util │ │ └── TestKafkaUtil.java │ └── scala │ └── org │ └── apache │ └── samza │ ├── config │ └── TestKafkaConfig.scala │ └── system │ └── kafka │ ├── TestKafkaSystemAdmin.scala │ ├── TestKafkaSystemFactory.scala │ └── TestKafkaSystemProducer.scala ├── samza-kv-couchbase └── src │ ├── main │ └── java │ │ └── org │ │ └── apache │ │ └── samza │ │ └── table │ │ └── remote │ │ └── couchbase │ │ ├── BaseCouchbaseTableFunction.java │ │ ├── CouchbaseBucketRegistry.java │ │ ├── CouchbaseEnvironmentConfigs.java │ │ ├── CouchbaseTableReadFunction.java │ │ └── CouchbaseTableWriteFunction.java │ └── test │ └── java │ └── org │ └── apache │ └── samza │ └── table │ └── remote │ └── couchbase │ ├── TestCouchbaseBucketRegistry.java │ ├── TestCouchbaseTableReadFunction.java │ └── TestCouchbaseTableWriteFunction.java ├── samza-kv-inmemory └── src │ ├── main │ └── java │ │ └── org │ │ └── apache │ │ └── samza │ │ └── storage │ │ └── kv │ │ └── inmemory │ │ ├── InMemoryKeyValueStorageEngineFactory.java │ │ ├── InMemoryKeyValueStore.java │ │ └── descriptors │ │ └── InMemoryTableDescriptor.java │ └── test │ └── java │ └── org │ └── apache │ └── samza │ └── storage │ └── kv │ └── inmemory │ ├── TestInMemoryKeyValueStore.java │ └── TestInMemoryTableDescriptor.java ├── samza-kv-rocksdb └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── samza │ │ │ └── storage │ │ │ └── kv │ │ │ ├── RocksDbKeyValueReader.java │ │ │ ├── RocksDbOptionsHelper.java │ │ │ ├── RocksDbReadingTool.java │ │ │ └── descriptors │ │ │ └── RocksDbTableDescriptor.java │ └── scala │ │ └── org │ │ └── apache │ │ └── samza │ │ └── storage │ │ └── kv │ │ ├── RocksDbKeyValueStorageEngineFactory.scala │ │ └── RocksDbKeyValueStore.scala │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── samza │ │ └── storage │ │ └── kv │ │ ├── TestRocksDbKeyValueReader.java │ │ ├── TestRocksDbKeyValueStoreJava.java │ │ └── descriptors │ │ └── TestRocksDbTableDescriptor.java │ └── scala │ └── org │ └── apache │ └── samza │ └── storage │ └── kv │ └── TestRocksDbKeyValueStore.scala ├── samza-kv └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── samza │ │ │ └── storage │ │ │ └── kv │ │ │ ├── BaseKeyValueStorageEngineFactory.java │ │ │ ├── LargeMessageSafeStore.java │ │ │ ├── LocalTable.java │ │ │ ├── LocalTableProvider.java │ │ │ ├── LocalTableProviderFactory.java │ │ │ └── RecordTooLargeException.java │ └── scala │ │ └── org │ │ └── apache │ │ └── samza │ │ └── storage │ │ └── kv │ │ ├── AccessLogMessage.scala │ │ ├── AccessLoggedStore.scala │ │ ├── CachedStore.scala │ │ ├── CachedStoreMetrics.scala │ │ ├── KeyValueStorageEngine.scala │ │ ├── KeyValueStorageEngineMetrics.scala │ │ ├── KeyValueStoreMetrics.scala │ │ ├── LargeMessageSafeStoreMetrics.scala │ │ ├── LoggedStore.scala │ │ ├── LoggedStoreMetrics.scala │ │ ├── NullSafeKeyValueStore.scala │ │ ├── SerializedKeyValueStore.scala │ │ └── SerializedKeyValueStoreMetrics.scala │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── samza │ │ └── storage │ │ └── kv │ │ ├── MockKeyValueStorageEngineFactory.java │ │ ├── TestBaseKeyValueStorageEngineFactory.java │ │ ├── TestLargeMessageSafeStore.java │ │ ├── TestLocalTableProvider.java │ │ ├── TestLocalTableRead.java │ │ └── TestLocalTableWrite.java │ └── scala │ └── org │ └── apache │ └── samza │ └── storage │ └── kv │ ├── MockKeyValueStore.scala │ ├── TestCachedStore.scala │ └── TestKeyValueStorageEngine.scala ├── samza-log4j └── src │ ├── main │ └── java │ │ └── org │ │ └── apache │ │ └── samza │ │ ├── config │ │ └── Log4jSystemConfig.java │ │ └── logging │ │ └── log4j │ │ ├── JmxAppender.java │ │ ├── SimpleDiagnosticsAppender.java │ │ ├── StreamAppender.java │ │ ├── StreamAppenderMetrics.java │ │ └── serializers │ │ ├── LoggingEventJsonSerde.java │ │ ├── LoggingEventJsonSerdeFactory.java │ │ ├── LoggingEventStringSerde.java │ │ └── LoggingEventStringSerdeFactory.java │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── samza │ │ ├── config │ │ └── TestLog4jSystemConfig.java │ │ └── logging │ │ └── log4j │ │ ├── MockSystemAdmin.java │ │ ├── MockSystemFactory.java │ │ ├── MockSystemProducer.java │ │ ├── TestJmxAppender.java │ │ ├── TestStreamAppender.java │ │ └── serializers │ │ └── TestLoggingEventStringSerde.java │ └── resources │ └── log4j.xml ├── samza-log4j2 └── src │ ├── main │ └── java │ │ └── org │ │ └── apache │ │ └── samza │ │ ├── config │ │ └── Log4jSystemConfig.java │ │ └── logging │ │ └── log4j2 │ │ ├── SimpleDiagnosticsAppender.java │ │ ├── StreamAppender.java │ │ ├── StreamAppenderMetrics.java │ │ └── serializers │ │ ├── LoggingEventJsonSerde.java │ │ ├── LoggingEventJsonSerdeFactory.java │ │ ├── LoggingEventStringSerde.java │ │ └── LoggingEventStringSerdeFactory.java │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── samza │ │ └── logging │ │ └── log4j2 │ │ ├── MockSystemAdmin.java │ │ ├── MockSystemFactory.java │ │ ├── MockSystemProducer.java │ │ ├── TestStreamAppender.java │ │ └── serializers │ │ └── TestLoggingEventStringSerde.java │ └── resources │ └── log4j2.xml ├── samza-rest └── src │ ├── main │ ├── bash │ │ └── run-samza-rest-service.sh │ ├── config │ │ └── samza-rest.properties │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── samza │ │ │ ├── monitor │ │ │ ├── JobsClient.java │ │ │ ├── LocalStoreMonitor.java │ │ │ ├── LocalStoreMonitorConfig.java │ │ │ ├── LocalStoreMonitorFactory.java │ │ │ ├── LocalStoreMonitorMetrics.java │ │ │ ├── Monitor.java │ │ │ ├── MonitorConfig.java │ │ │ ├── MonitorFactory.java │ │ │ ├── MonitorLoader.java │ │ │ └── SamzaMonitorService.java │ │ │ └── rest │ │ │ ├── SamzaRestApplication.java │ │ │ ├── SamzaRestConfig.java │ │ │ ├── SamzaRestService.java │ │ │ ├── model │ │ │ ├── Job.java │ │ │ ├── JobStatus.java │ │ │ ├── Partition.java │ │ │ ├── Task.java │ │ │ └── yarn │ │ │ │ └── YarnApplicationInfo.java │ │ │ ├── proxy │ │ │ ├── installation │ │ │ │ ├── InstallationFinder.java │ │ │ │ ├── InstallationRecord.java │ │ │ │ └── SimpleInstallationFinder.java │ │ │ ├── job │ │ │ │ ├── AbstractJobProxy.java │ │ │ │ ├── JobInstance.java │ │ │ │ ├── JobProxy.java │ │ │ │ ├── JobProxyFactory.java │ │ │ │ ├── JobStatusProvider.java │ │ │ │ ├── ScriptJobProxy.java │ │ │ │ ├── SimpleYarnJobProxy.java │ │ │ │ ├── SimpleYarnJobProxyFactory.java │ │ │ │ └── YarnRestJobStatusProvider.java │ │ │ └── task │ │ │ │ ├── SamzaTaskProxy.java │ │ │ │ ├── SamzaTaskProxyFactory.java │ │ │ │ ├── TaskProxy.java │ │ │ │ ├── TaskProxyFactory.java │ │ │ │ └── TaskResourceConfig.java │ │ │ ├── resources │ │ │ ├── BaseResourceConfig.java │ │ │ ├── DefaultResourceFactory.java │ │ │ ├── JobsResource.java │ │ │ ├── JobsResourceConfig.java │ │ │ ├── ResourceConstants.java │ │ │ ├── ResourceFactory.java │ │ │ ├── Responses.java │ │ │ ├── TasksResource.java │ │ │ └── YarnJobResourceConfig.java │ │ │ └── script │ │ │ ├── ScriptOutputHandler.java │ │ │ ├── ScriptPathProvider.java │ │ │ └── ScriptRunner.java │ └── resources │ │ ├── log4j.xml │ │ └── log4j2.xml │ └── test │ └── java │ └── org │ └── apache │ └── samza │ ├── monitor │ ├── TestLocalStoreMonitor.java │ ├── TestMonitorService.java │ └── mock │ │ ├── DummyMonitor.java │ │ ├── DummyMonitorFactory.java │ │ ├── ExceptionThrowingMonitor.java │ │ ├── ExceptionThrowingMonitorFactory.java │ │ └── MockMonitorFactory.java │ └── rest │ ├── TestSamzaRestService.java │ ├── proxy │ └── job │ │ └── TestYarnRestJobStatusProvider.java │ └── resources │ ├── BaseJerseyTest.java │ ├── TestJobsResource.java │ ├── TestTasksResource.java │ └── mock │ ├── MockInstallationFinder.java │ ├── MockJobProxy.java │ ├── MockJobProxyFactory.java │ ├── MockJobStatusProvider.java │ ├── MockResourceFactory.java │ ├── MockTaskProxy.java │ └── MockTaskProxyFactory.java ├── samza-shell └── src │ └── main │ ├── assembly │ └── src.xml │ ├── bash │ ├── checkpoint-tool.sh │ ├── kill-all.sh │ ├── kill-yarn-job-by-name.sh │ ├── kill-yarn-job.sh │ ├── list-yarn-job.sh │ ├── read-rocksdb-tool.sh │ ├── run-app.sh │ ├── run-class.sh │ ├── run-container.sh │ ├── run-coordinator-stream-writer.sh │ ├── run-framework-class.sh │ ├── run-jc.sh │ ├── run-job.sh │ ├── stat-yarn-job.sh │ ├── state-storage-tool.sh │ └── validate-yarn-job.sh │ ├── resources │ ├── log4j-console.xml │ └── log4j2-console.xml │ └── visualizer │ ├── js │ ├── d3.v3.min.js │ ├── dagre-d3.min.js │ └── planToDagre.js │ └── plan.html ├── samza-sql-shell ├── conf │ ├── samza-sql-shell-log4j.xml │ └── shell-defaults.conf ├── scripts │ └── samza-sql-shell.sh └── src │ ├── main │ └── java │ │ └── org │ │ └── apache │ │ └── samza │ │ └── sql │ │ └── client │ │ ├── cli │ │ ├── CliCommand.java │ │ ├── CliConstants.java │ │ ├── CliEnvironment.java │ │ ├── CliHighlighter.java │ │ ├── CliShell.java │ │ ├── CliShellEnvironmentVariableHandler.java │ │ ├── CliView.java │ │ ├── Main.java │ │ └── QueryResultLogView.java │ │ ├── exceptions │ │ ├── CliException.java │ │ ├── CommandHandlerException.java │ │ └── ExecutorException.java │ │ ├── impl │ │ ├── CliCommandHandler.java │ │ ├── CliCommandType.java │ │ ├── CliLoggingSystemFactory.java │ │ ├── FileSystemAvroRelSchemaProviderFactory.java │ │ ├── SamzaExecutor.java │ │ └── SamzaSqlUdfDisplayInfo.java │ │ ├── interfaces │ │ ├── CommandHandler.java │ │ ├── CommandType.java │ │ ├── EnvironmentVariableHandler.java │ │ ├── EnvironmentVariableHandlerImpl.java │ │ ├── EnvironmentVariableSpecs.java │ │ ├── ExecutionContext.java │ │ ├── ExecutionStatus.java │ │ ├── NonQueryResult.java │ │ ├── QueryResult.java │ │ ├── SqlExecutor.java │ │ └── SqlFunction.java │ │ └── util │ │ ├── CliUtil.java │ │ ├── Pair.java │ │ └── RandomAccessQueue.java │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── samza │ │ └── sql │ │ └── client │ │ ├── impl │ │ └── SamzaExecutorTest.java │ │ └── util │ │ └── RandomAccessQueueTest.java │ └── resources │ └── ProfileChangeStream.avsc ├── samza-sql └── src │ ├── main │ └── java │ │ └── org │ │ └── apache │ │ └── samza │ │ └── sql │ │ ├── SamzaSqlInputMessage.java │ │ ├── SamzaSqlInputTransformer.java │ │ ├── avro │ │ ├── AvroRelConverter.java │ │ ├── AvroRelConverterFactory.java │ │ ├── AvroRelSchemaProvider.java │ │ ├── AvroTypeFactoryImpl.java │ │ └── ConfigBasedAvroRelSchemaProviderFactory.java │ │ ├── data │ │ ├── Expression.java │ │ ├── RexToJavaCompiler.java │ │ ├── SamzaSqlExecutionContext.java │ │ ├── SamzaSqlRelMessage.java │ │ └── SamzaSqlRelMsgMetadata.java │ │ ├── dsl │ │ ├── SamzaSqlDslConverter.java │ │ └── SamzaSqlDslConverterFactory.java │ │ ├── fn │ │ ├── BuildOutputRecordUdf.java │ │ ├── ConvertToStringUdf.java │ │ ├── FlattenUdf.java │ │ ├── GetNestedFieldUdf.java │ │ ├── GetSqlFieldUdf.java │ │ └── RegexMatchUdf.java │ │ ├── impl │ │ ├── ConfigBasedIOResolverFactory.java │ │ └── ConfigBasedUdfResolver.java │ │ ├── interfaces │ │ ├── DslConverter.java │ │ ├── DslConverterFactory.java │ │ ├── RelSchemaProvider.java │ │ ├── RelSchemaProviderFactory.java │ │ ├── SamzaRelConverter.java │ │ ├── SamzaRelConverterFactory.java │ │ ├── SamzaRelTableKeyConverter.java │ │ ├── SamzaRelTableKeyConverterFactory.java │ │ ├── SamzaSqlDriver.java │ │ ├── SamzaSqlJavaTypeFactoryImpl.java │ │ ├── SqlIOConfig.java │ │ ├── SqlIOResolver.java │ │ ├── SqlIOResolverFactory.java │ │ ├── UdfMetadata.java │ │ └── UdfResolver.java │ │ ├── planner │ │ ├── Checker.java │ │ ├── QueryPlanner.java │ │ ├── RelSchemaConverter.java │ │ ├── SamzaSqlFilterRemoteJoinRule.java │ │ ├── SamzaSqlOperatorTable.java │ │ ├── SamzaSqlScalarFunctionImpl.java │ │ ├── SamzaSqlUdfOperatorTable.java │ │ ├── SamzaSqlValidator.java │ │ └── SamzaSqlValidatorException.java │ │ ├── runner │ │ ├── SamzaSqlApplication.java │ │ ├── SamzaSqlApplicationConfig.java │ │ ├── SamzaSqlApplicationContext.java │ │ └── SamzaSqlApplicationRunner.java │ │ ├── serializers │ │ ├── SamzaSqlRelMessageSerdeFactory.java │ │ └── SamzaSqlRelRecordSerdeFactory.java │ │ ├── translator │ │ ├── FilterTranslator.java │ │ ├── JoinInputNode.java │ │ ├── JoinTranslator.java │ │ ├── LogicalAggregateTranslator.java │ │ ├── ProjectTranslator.java │ │ ├── QueryTranslator.java │ │ ├── SamzaSqlLocalTableJoinFunction.java │ │ ├── SamzaSqlRemoteTableJoinFunction.java │ │ ├── SamzaSqlTableJoinFunction.java │ │ ├── ScanTranslator.java │ │ ├── TranslatorConstants.java │ │ ├── TranslatorContext.java │ │ ├── TranslatorInputMetricsMapFunction.java │ │ └── TranslatorOutputMetricsMapFunction.java │ │ ├── udf │ │ └── ReflectionBasedUdfResolver.java │ │ └── util │ │ ├── JsonUtil.java │ │ ├── SamzaSqlQueryParser.java │ │ └── SqlFileParser.java │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── samza │ │ └── sql │ │ ├── avro │ │ ├── TestAvroRelConversion.java │ │ └── schemas │ │ │ ├── AddressRecord.java │ │ │ ├── Company.avsc │ │ │ ├── Company.java │ │ │ ├── ComplexRecord.avsc │ │ │ ├── ComplexRecord.java │ │ │ ├── ComplexUnion.avsc │ │ │ ├── ComplexUnion.java │ │ │ ├── EnrichedPageView.avsc │ │ │ ├── EnrichedPageView.java │ │ │ ├── Kind.java │ │ │ ├── MyFixed.java │ │ │ ├── PageView.avsc │ │ │ ├── PageView.java │ │ │ ├── PageViewCount.avsc │ │ │ ├── PageViewCount.java │ │ │ ├── PhoneNumber.java │ │ │ ├── Profile.avsc │ │ │ ├── Profile.java │ │ │ ├── SimpleRecord.avsc │ │ │ ├── SimpleRecord.java │ │ │ ├── StreetNumRecord.java │ │ │ ├── SubRecord.java │ │ │ ├── TestEnumType.java │ │ │ └── emptySubRecord.java │ │ ├── data │ │ └── TestSamzaSqlRelMessage.java │ │ ├── fn │ │ ├── TestBuildOutputRecordUdf.java │ │ ├── TestConvertToStringUdf.java │ │ └── TestGetSqlFieldUdf.java │ │ ├── planner │ │ ├── CheckerTest.java │ │ ├── TestQueryPlanner.java │ │ └── TestSamzaSqlValidator.java │ │ ├── runner │ │ ├── TestSamzaSqlApplicationConfig.java │ │ └── TestSamzaSqlApplicationRunner.java │ │ ├── serializers │ │ ├── TestSamzaSqlRelMessageSerde.java │ │ └── TestSamzaSqlRelRecordSerde.java │ │ ├── system │ │ ├── ConsoleLoggingSystemFactory.java │ │ ├── SimpleSystemAdmin.java │ │ └── TestAvroSystemFactory.java │ │ ├── translator │ │ ├── TestFilterTranslator.java │ │ ├── TestJoinTranslator.java │ │ ├── TestProjectTranslator.java │ │ ├── TestQueryTranslator.java │ │ ├── TestSamzaSqlLocalTableJoinFunction.java │ │ ├── TestSamzaSqlRemoteTableJoinFunction.java │ │ └── TranslatorTestBase.java │ │ ├── udf │ │ └── impl │ │ │ ├── TestReflectionBasedUdfResolver.java │ │ │ └── TestSamzaSqlUdf.java │ │ └── util │ │ ├── MyTestArrayUdf.java │ │ ├── MyTestObjUdf.java │ │ ├── MyTestPolyUdf.java │ │ ├── MyTestUdf.java │ │ ├── RemoteStoreIOResolverTestFactory.java │ │ ├── SampleRelConverterFactory.java │ │ ├── SampleRelTableKeyConverter.java │ │ ├── SampleRelTableKeyConverterFactory.java │ │ ├── SampleRelTableKeyConverterTest.java │ │ ├── SamzaSqlTestConfig.java │ │ ├── TestMetricsRegistryImpl.java │ │ ├── TestSamzaSqlFileParser.java │ │ └── TestSamzaSqlQueryParser.java │ └── resources │ ├── log4j.xml │ └── log4j2.xml ├── samza-test └── src │ ├── main │ ├── config │ │ ├── join │ │ │ ├── README │ │ │ ├── checker.samza │ │ │ ├── emitter.samza │ │ │ ├── joiner.samza │ │ │ ├── reset.sh │ │ │ └── watcher.samza │ │ ├── negate-number.properties │ │ ├── perf │ │ │ ├── container-performance.properties │ │ │ ├── counter.samsa │ │ │ ├── kafka-read-write-performance.properties │ │ │ └── kv-perf.properties │ │ └── standalone.failure.test.properties │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── samza │ │ │ ├── example │ │ │ ├── AppWithGlobalConfigExample.java │ │ │ ├── AsyncApplicationExample.java │ │ │ ├── BroadcastExample.java │ │ │ ├── KeyValueStoreExample.java │ │ │ ├── MergeExample.java │ │ │ ├── OrderShipmentJoinExample.java │ │ │ ├── PageViewCounterExample.java │ │ │ ├── RepartitionExample.java │ │ │ ├── TaskApplicationExample.java │ │ │ ├── WindowExample.java │ │ │ └── models │ │ │ │ ├── AdClickEvent.java │ │ │ │ ├── EnrichedAdClickEvent.java │ │ │ │ ├── Member.java │ │ │ │ ├── PageViewCount.java │ │ │ │ └── PageViewEvent.java │ │ │ ├── system │ │ │ └── mock │ │ │ │ ├── MockSystemAdmin.java │ │ │ │ ├── MockSystemConsumer.java │ │ │ │ └── MockSystemFactory.java │ │ │ └── test │ │ │ ├── framework │ │ │ ├── MessageStreamAssert.java │ │ │ ├── StreamAssert.java │ │ │ ├── TestRunner.java │ │ │ └── system │ │ │ │ └── descriptors │ │ │ │ ├── InMemoryInputDescriptor.java │ │ │ │ ├── InMemoryOutputDescriptor.java │ │ │ │ └── InMemorySystemDescriptor.java │ │ │ └── integration │ │ │ ├── LocalApplicationRunnerMain.java │ │ │ ├── NegateNumberTask.java │ │ │ ├── SimpleStatefulTask.java │ │ │ ├── StatePerfTestTask.java │ │ │ ├── TestStandaloneIntegrationApplication.java │ │ │ └── join │ │ │ ├── Checker.java │ │ │ ├── Emitter.java │ │ │ ├── Joiner.java │ │ │ └── Watcher.java │ ├── python │ │ ├── configs │ │ │ ├── downloads.json │ │ │ ├── kafka.json │ │ │ ├── tests.json │ │ │ ├── yarn.json │ │ │ └── zookeeper.json │ │ ├── deployment.py │ │ ├── integration_tests.py │ │ ├── perf.py │ │ ├── requirements.txt │ │ ├── samza_failure_testing.py │ │ ├── samza_job_yarn_deployer.py │ │ ├── standalone_deployment.py │ │ ├── standalone_integration_tests.py │ │ ├── stream_processor.py │ │ ├── templates.py │ │ ├── templates │ │ │ └── yarn-site.xml │ │ └── tests │ │ │ ├── performance_tests.py │ │ │ ├── smoke_tests.py │ │ │ ├── standalone_failure_tests.py │ │ │ ├── util.py │ │ │ └── zk_client.py │ ├── resources │ │ ├── hello-stateful-world.samza │ │ └── log4j2.xml │ └── scala │ │ └── org │ │ └── apache │ │ └── samza │ │ └── test │ │ └── performance │ │ ├── TestKeyValuePerformance.scala │ │ └── TestPerformanceTask.scala │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── samza │ │ ├── checkpoint │ │ └── CheckpointVersionIntegrationTest.java │ │ ├── processor │ │ ├── TestStreamProcessorUtil.java │ │ ├── TestZkStreamProcessor.java │ │ ├── TestZkStreamProcessorBase.java │ │ ├── TestZkStreamProcessorFailures.java │ │ └── TestZkStreamProcessorSession.java │ │ ├── storage │ │ ├── MyStatefulApplication.java │ │ └── kv │ │ │ ├── BaseStateBackendIntegrationTest.java │ │ │ ├── BlobStoreStateBackendIntegrationTest.java │ │ │ ├── KafkaNonTransactionalStateIntegrationTest.java │ │ │ ├── KafkaTransactionalStateIntegrationTest.java │ │ │ ├── TestKeyValueSizeHistogramMetric.java │ │ │ └── TestLargeMessageSafeKeyValueStores.java │ │ └── test │ │ ├── StandaloneTestUtils.java │ │ ├── TestData.java │ │ ├── controlmessages │ │ ├── EndOfStreamIntegrationTest.java │ │ └── WatermarkIntegrationTest.java │ │ ├── drain │ │ ├── DrainHighLevelApiIntegrationTest.java │ │ └── DrainLowLevelApiIntegrationTest.java │ │ ├── framework │ │ ├── AsyncStreamTaskIntegrationTest.java │ │ ├── BroadcastAssertApp.java │ │ ├── FaultInjectionTest.java │ │ ├── MyAsyncStreamTask.java │ │ ├── MyStreamTestTask.java │ │ ├── SchedulingTest.java │ │ ├── StreamApplicationIntegrationTest.java │ │ ├── StreamApplicationIntegrationTestHarness.java │ │ ├── StreamTaskIntegrationTest.java │ │ ├── TestSchedulingApp.java │ │ └── TestStreamApplicationIntegrationTestHarness.java │ │ ├── functions │ │ └── TestSchedulerFunction.java │ │ ├── harness │ │ ├── InMemoryIntegrationTestHarness.java │ │ └── IntegrationTestHarness.java │ │ ├── kafka │ │ └── KafkaCheckpointManagerIntegrationTest.java │ │ ├── operator │ │ ├── RepartitionJoinWindowApp.java │ │ ├── SessionWindowApp.java │ │ ├── TestAsyncFlatMap.java │ │ ├── TestRepartitionJoinWindowApp.java │ │ ├── TestRepartitionWindowApp.java │ │ ├── TumblingWindowApp.java │ │ └── data │ │ │ ├── AdClick.java │ │ │ ├── PageView.java │ │ │ └── UserPageAdClick.java │ │ ├── processor │ │ ├── IdentityStreamTask.java │ │ ├── SharedContextFactories.java │ │ ├── TestStreamApplication.java │ │ ├── TestStreamProcessor.java │ │ ├── TestTaskApplication.java │ │ └── TestZkLocalApplicationRunner.java │ │ ├── samzasql │ │ ├── SamzaSqlIntegrationTestHarness.java │ │ ├── TestSamzaSqlEndToEnd.java │ │ └── TestSamzaSqlRemoteTable.java │ │ ├── startpoint │ │ └── TestStartpoint.java │ │ ├── table │ │ ├── PageViewToProfileJoinFunction.java │ │ ├── TestCouchbaseRemoteTableEndToEnd.java │ │ ├── TestLocalTableEndToEnd.java │ │ ├── TestLocalTableWithConfigRewriterEndToEnd.java │ │ ├── TestLocalTableWithLowLevelApiEndToEnd.java │ │ ├── TestLocalTableWithSideInputsEndToEnd.java │ │ ├── TestRemoteTableEndToEnd.java │ │ ├── TestRemoteTableWithBatchEndToEnd.java │ │ └── TestTableData.java │ │ └── util │ │ ├── ArraySystemConsumer.java │ │ ├── ArraySystemFactory.java │ │ ├── Base64Serializer.java │ │ ├── SimpleSystemAdmin.java │ │ ├── TestBlobStoreManager.java │ │ ├── TestBlobStoreManagerFactory.java │ │ ├── TestKafkaEvent.java │ │ └── TestStreamConsumer.java │ └── scala │ └── org │ └── apache │ └── samza │ ├── storage │ └── kv │ │ └── TestKeyValueStores.scala │ └── test │ ├── harness │ ├── AbstractKafkaServerTestHarness.scala │ └── AbstractZookeeperTestHarness.scala │ └── integration │ ├── NonTransactionalStateIntegrationTest.scala │ ├── NonTransactionalStateShutdownIntegrationTest.scala │ └── StreamTaskTestUtil.scala ├── samza-tools ├── LICENSE ├── NOTICE ├── config │ ├── bench-log4j.xml │ ├── eh-bench.properties │ ├── eh-consumer-log4j.xml │ ├── generate-kafka-events-log4j.xml │ └── samza-sql-console-log4j.xml ├── scripts │ ├── eh-consumer.sh │ ├── generate-kafka-events.sh │ ├── samza-sql-console.sh │ ├── system-consumer-bench.sh │ ├── system-consumer-with-samza-bench.sh │ └── system-producer-bench.sh └── src │ └── main │ ├── java │ └── org │ │ └── apache │ │ └── samza │ │ └── tools │ │ ├── CommandLineHelper.java │ │ ├── ConsoleLoggingSystemFactory.java │ │ ├── EventHubConsoleConsumer.java │ │ ├── GenerateKafkaEvents.java │ │ ├── RandomValueGenerator.java │ │ ├── SamzaSqlConsole.java │ │ ├── avro │ │ ├── AvroSchemaGenRelConverter.java │ │ ├── AvroSchemaGenRelConverterFactory.java │ │ └── AvroSerDeFactory.java │ │ ├── benchmark │ │ ├── AbstractSamzaBench.java │ │ ├── ConfigBasedSspGrouperFactory.java │ │ ├── SystemConsumerBench.java │ │ ├── SystemConsumerWithSamzaBench.java │ │ └── SystemProducerBench.java │ │ ├── json │ │ └── JsonRelConverterFactory.java │ │ └── schemas │ │ ├── PageViewEvent.avsc │ │ ├── PageViewEvent.java │ │ ├── ProfileChangeEvent.avsc │ │ └── ProfileChangeEvent.java │ └── resources │ ├── log4j.xml │ └── log4j2.xml ├── samza-yarn └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── samza │ │ │ ├── config │ │ │ └── YarnConfig.java │ │ │ ├── job │ │ │ └── yarn │ │ │ │ ├── FileSystemImplConfig.java │ │ │ │ ├── LocalizerResourceConfig.java │ │ │ │ ├── LocalizerResourceException.java │ │ │ │ ├── LocalizerResourceMapper.java │ │ │ │ ├── YarnAppState.java │ │ │ │ ├── YarnClusterResourceManager.java │ │ │ │ ├── YarnFaultDomainManager.java │ │ │ │ ├── YarnFaultDomainManagerFactory.java │ │ │ │ └── YarnResourceManagerFactory.java │ │ │ ├── validation │ │ │ └── YarnJobValidationTool.java │ │ │ └── webapp │ │ │ ├── ApplicationMasterRestClient.java │ │ │ └── YarnContainerHeartbeatServlet.java │ ├── less │ │ ├── main.less │ │ └── variables.less │ ├── resources │ │ └── scalate │ │ │ ├── WEB-INF │ │ │ ├── layouts │ │ │ │ └── default.scaml │ │ │ └── views │ │ │ │ └── index.scaml │ │ │ ├── css │ │ │ ├── bootstrap.min.css │ │ │ ├── font-awesome.min.css │ │ │ └── ropa-sans.css │ │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── RopaSans-Regular-webfont.woff │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ └── glyphicons-halflings-regular.woff │ │ │ ├── img │ │ │ ├── asc.gif │ │ │ ├── bg.gif │ │ │ ├── desc.gif │ │ │ └── samza-icon.png │ │ │ └── js │ │ │ ├── bootstrap.min.js │ │ │ ├── jquery-1.11.1.min.js │ │ │ └── jquery.tablesorter.min.js │ └── scala │ │ └── org │ │ └── apache │ │ └── samza │ │ ├── job │ │ └── yarn │ │ │ ├── ClientHelper.scala │ │ │ ├── SamzaAppMasterMetrics.scala │ │ │ ├── SamzaAppMasterSecurityManager.scala │ │ │ ├── SamzaContainerSecurityManager.scala │ │ │ ├── SamzaYarnAppMasterLifecycle.scala │ │ │ ├── SamzaYarnAppMasterService.scala │ │ │ ├── SamzaYarnSecurityManagerFactory.scala │ │ │ ├── YarnAppMasterListener.scala │ │ │ ├── YarnContainer.scala │ │ │ ├── YarnJob.scala │ │ │ ├── YarnJobFactory.scala │ │ │ └── YarnJobUtil.scala │ │ ├── util │ │ └── hadoop │ │ │ ├── HttpFileSystem.scala │ │ │ └── HttpInputStream.scala │ │ └── webapp │ │ ├── ApplicationMasterRestServlet.scala │ │ └── ApplicationMasterWebServlet.scala │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── samza │ │ ├── config │ │ └── TestYarnConfig.java │ │ ├── job │ │ └── yarn │ │ │ ├── TestFileSystemImplConfig.java │ │ │ ├── TestLocalizerResourceConfig.java │ │ │ ├── TestLocalizerResourceMapper.java │ │ │ ├── TestYarnClusterResourceManager.java │ │ │ ├── TestYarnFaultDomainManager.java │ │ │ ├── TestYarnJob.java │ │ │ ├── TestYarnJobFactory.java │ │ │ └── util │ │ │ ├── MockContainerListener.java │ │ │ ├── MockHttpServer.java │ │ │ ├── MockNMClient.java │ │ │ ├── TestAMRMClientImpl.java │ │ │ └── hadoop │ │ │ └── TestHttpFileSystem.java │ │ ├── validation │ │ ├── MockMetricsValidator.java │ │ └── TestYarnJobValidationTool.java │ │ └── webapp │ │ ├── TestApplicationMasterRestClient.java │ │ ├── TestLocalityServlet.java │ │ └── TestYarnContainerHeartbeatServlet.java │ └── scala │ └── org │ └── apache │ └── samza │ └── job │ └── yarn │ ├── MockSystemAdmin.scala │ ├── MockSystemFactory.scala │ ├── TestClientHelper.scala │ ├── TestSamzaYarnAppMasterLifecycle.scala │ └── TestSamzaYarnAppMasterService.scala ├── samza-yarn3 └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── samza │ │ │ ├── config │ │ │ └── YarnConfig.java │ │ │ ├── job │ │ │ └── yarn │ │ │ │ ├── FileSystemImplConfig.java │ │ │ │ ├── LocalizerResourceConfig.java │ │ │ │ ├── LocalizerResourceException.java │ │ │ │ ├── LocalizerResourceMapper.java │ │ │ │ ├── YarnAppState.java │ │ │ │ ├── YarnClusterResourceManager.java │ │ │ │ ├── YarnFaultDomainManager.java │ │ │ │ ├── YarnFaultDomainManagerFactory.java │ │ │ │ └── YarnResourceManagerFactory.java │ │ │ ├── validation │ │ │ └── YarnJobValidationTool.java │ │ │ └── webapp │ │ │ ├── ApplicationMasterRestClient.java │ │ │ └── YarnContainerHeartbeatServlet.java │ ├── less │ │ ├── main.less │ │ └── variables.less │ ├── resources │ │ └── scalate │ │ │ ├── WEB-INF │ │ │ ├── layouts │ │ │ │ └── default.scaml │ │ │ └── views │ │ │ │ └── index.scaml │ │ │ ├── css │ │ │ ├── bootstrap.min.css │ │ │ ├── font-awesome.min.css │ │ │ └── ropa-sans.css │ │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── RopaSans-Regular-webfont.woff │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ └── glyphicons-halflings-regular.woff │ │ │ ├── img │ │ │ ├── asc.gif │ │ │ ├── bg.gif │ │ │ ├── desc.gif │ │ │ └── samza-icon.png │ │ │ └── js │ │ │ ├── bootstrap.min.js │ │ │ ├── jquery-1.11.1.min.js │ │ │ └── jquery.tablesorter.min.js │ └── scala │ │ └── org │ │ └── apache │ │ └── samza │ │ ├── job │ │ └── yarn │ │ │ ├── ClientHelper.scala │ │ │ ├── SamzaAppMasterMetrics.scala │ │ │ ├── SamzaAppMasterSecurityManager.scala │ │ │ ├── SamzaContainerSecurityManager.scala │ │ │ ├── SamzaYarnAppMasterLifecycle.scala │ │ │ ├── SamzaYarnAppMasterService.scala │ │ │ ├── SamzaYarnSecurityManagerFactory.scala │ │ │ ├── YarnAppMasterListener.scala │ │ │ ├── YarnContainer.scala │ │ │ ├── YarnJob.scala │ │ │ ├── YarnJobFactory.scala │ │ │ └── YarnJobUtil.scala │ │ ├── util │ │ └── hadoop │ │ │ ├── HttpFileSystem.scala │ │ │ └── HttpInputStream.scala │ │ └── webapp │ │ ├── ApplicationMasterRestServlet.scala │ │ └── ApplicationMasterWebServlet.scala │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── samza │ │ ├── config │ │ └── TestYarnConfig.java │ │ ├── job │ │ └── yarn │ │ │ ├── TestFileSystemImplConfig.java │ │ │ ├── TestLocalizerResourceConfig.java │ │ │ ├── TestLocalizerResourceMapper.java │ │ │ ├── TestYarnClusterResourceManager.java │ │ │ ├── TestYarnFaultDomainManager.java │ │ │ ├── TestYarnJob.java │ │ │ ├── TestYarnJobFactory.java │ │ │ └── util │ │ │ ├── MockContainerListener.java │ │ │ ├── MockHttpServer.java │ │ │ ├── MockNMClient.java │ │ │ ├── TestAMRMClientImpl.java │ │ │ └── hadoop │ │ │ └── TestHttpFileSystem.java │ │ ├── validation │ │ ├── MockMetricsValidator.java │ │ └── TestYarnJobValidationTool.java │ │ └── webapp │ │ ├── TestApplicationMasterRestClient.java │ │ ├── TestLocalityServlet.java │ │ └── TestYarnContainerHeartbeatServlet.java │ └── scala │ └── org │ └── apache │ └── samza │ └── job │ └── yarn │ ├── MockSystemAdmin.scala │ ├── MockSystemFactory.scala │ ├── TestClientHelper.scala │ ├── TestSamzaYarnAppMasterLifecycle.scala │ └── TestSamzaYarnAppMasterService.scala ├── settings.gradle └── sonar-project.properties /.gitignore: -------------------------------------------------------------------------------- 1 | project/boot/ 2 | target/ 3 | .classpath 4 | .project 5 | .scala_dependencies 6 | .settings/ 7 | dist/ 8 | record_timestamps.log* 9 | deployable.tgz 10 | .idea/ 11 | .idea_modules/ 12 | *.iml 13 | *.ipr 14 | *.iws 15 | *.swp 16 | */.cache 17 | dashboard-deployable.tgz 18 | deployable.tar 19 | dist-dashboard 20 | docs/_site 21 | docs/.jekyll-cache 22 | docs/.jekyll-metadata 23 | .gradle 24 | build 25 | **/bin 26 | samza-test/state 27 | state/ 28 | docs/learn/documentation/*/api/javadocs 29 | docs/learn/documentation/*/rest/javadocs 30 | .DS_Store 31 | out/ 32 | *.patch 33 | **.pyc 34 | samza-shell/src/main/visualizer/plan.json 35 | **/hs_err_pid*.log 36 | .vscode/ 37 | -------------------------------------------------------------------------------- /.reviewboardrc: -------------------------------------------------------------------------------- 1 | REVIEWBOARD_URL = 'https://reviews.apache.org' 2 | REPOSITORY = 'samza' 3 | GUESS_DESCRIPTION = True 4 | TARGET_GROUPS = 'samza' 5 | TRACKING_BRANCH = 'origin/master' 6 | -------------------------------------------------------------------------------- /HEADER: -------------------------------------------------------------------------------- 1 | Licensed to the Apache Software Foundation (ASF) under one 2 | or more contributor license agreements. See the NOTICE file 3 | distributed with this work for additional information 4 | regarding copyright ownership. The ASF licenses this file 5 | to you under the Apache License, Version 2.0 (the 6 | "License"); you may not use this file except in compliance 7 | with the License. You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, 12 | software distributed under the License is distributed on an 13 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | KIND, either express or implied. See the License for the 15 | specific language governing permissions and limitations 16 | under the License. 17 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | Apache Samza 2 | Copyright 2014 The Apache Software Foundation 3 | 4 | This product includes software developed at The Apache Software 5 | Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | LESSC = lessc 18 | OBJ = \ 19 | css/main.css 20 | 21 | all: $(OBJ) 22 | 23 | main_css_DEPS = \ 24 | less/main.less \ 25 | less/variables.less \ 26 | less/non-responsive.less 27 | 28 | css/main.css: $(main_css_DEPS) 29 | $(LESSC) $< $@ 30 | 31 | clean: 32 | rm -f $(OBJ) 33 | 34 | .SUFFIXES: .css .less 35 | 36 | .PHONY: all clean 37 | -------------------------------------------------------------------------------- /docs/_committers/aditya-toomula.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Aditya Toomula 3 | website: 4 | linkedin: https://www.linkedin.com/in/aditya-toomula-210b961/ 5 | twitter: 6 | image: 7 | github: atoomula 8 | pmc_member: false 9 | job_title: 10 | samza_title: 11 | order: 95 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_committers/ajo-thomas.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Ajo Thomas 3 | website: 4 | linkedin: https://www.linkedin.com/in/ajothomas 5 | twitter: 6 | image: 7 | github: ajothomas 8 | pmc_member: false 9 | job_title: 10 | samza_title: 11 | order: 135 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_committers/bharath-kumarasubramanian.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bharath Kumarasubramanian 3 | website: 4 | linkedin: https://www.linkedin.com/in/bharathkumarasubramanian 5 | twitter: 6 | image: 7 | github: mynameborat 8 | pmc_member: false 9 | job_title: 10 | samza_title: 11 | order: 110 12 | --- 13 | 29 | -------------------------------------------------------------------------------- /docs/_committers/boris-shkolnik.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Boris Shkolnik 3 | website: 4 | linkedin: https://www.linkedin.com/in/boryas 5 | twitter: https://twitter.com/sborya 6 | image: 7 | github: sborya 8 | pmc_member: false 9 | job_title: 10 | samza_title: 11 | order: 75 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_committers/cameron-lee.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Cameron Lee 3 | website: 4 | linkedin: https://www.linkedin.com/in/cameron-lee-3846b840 5 | twitter: 6 | image: 7 | github: cameronlee314 8 | pmc_member: false 9 | job_title: 10 | samza_title: 11 | order: 105 12 | --- 13 | 29 | -------------------------------------------------------------------------------- /docs/_committers/chinmay-soman.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Chinmay Soman 3 | website: 4 | linkedin: https://www.linkedin.com/pub/chinmay-soman/5/610/35 5 | twitter: ChinmaySoman 6 | image: 7 | github: 8 | pmc_member: true 9 | job_title: 10 | samza_title: 11 | order: 35 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_committers/chris-riccomini.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Chris Riccomini 3 | website: 4 | linkedin: http://www.linkedin.com/in/riccomini 5 | twitter: criccomini 6 | image: 7 | github: criccomini 8 | pmc_member: true 9 | job_title: 10 | samza_title: 11 | order: 30 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_committers/daniel-chen.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Daniel Chen 3 | website: 4 | linkedin: https://www.linkedin.com/in/dxichen 5 | twitter: dxichen 6 | image: 7 | github: dxichen 8 | pmc_member: false 9 | job_title: 10 | samza_title: 11 | order: 130 12 | --- 13 | 29 | -------------------------------------------------------------------------------- /docs/_committers/garry-turkington.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Garry Turkington 3 | website: 4 | linkedin: https://uk.linkedin.com/in/garryturkington 5 | twitter: garryturk 6 | image: 7 | github: garryturk 8 | pmc_member: true 9 | job_title: 10 | samza_title: 11 | order: 45 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_committers/hai-lu.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Hai Lu 3 | website: 4 | linkedin: https://www.linkedin.com/in/hai-lu-a9a80857 5 | twitter: 6 | image: 7 | github: lhaiesp 8 | pmc_member: false 9 | job_title: 10 | samza_title: 11 | order: 90 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_committers/jagadish-venkatraman.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Jagadish Venkatraman 3 | website: 4 | linkedin: https://www.linkedin.com/in/jagadishvenkat 5 | twitter: vjagadish1989 6 | image: 7 | github: vjagadish1989 8 | pmc_member: true 9 | job_title: 10 | samza_title: 11 | order: 15 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_committers/jake-maes.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Jake Maes 3 | website: 4 | linkedin: https://www.linkedin.com/in/jacobmaes 5 | twitter: jakemaes 6 | image: 7 | github: jmakes 8 | pmc_member: true 9 | job_title: 10 | samza_title: 11 | order: 20 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_committers/jakob-homan.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Jakob Homan 3 | website: 4 | linkedin: https://www.linkedin.com/in/jghoman 5 | twitter: blueboxtraveler 6 | image: 7 | github: jghoman 8 | pmc_member: true 9 | apache_member: true 10 | job_title: 11 | samza_title: 12 | order: 50 13 | --- 14 | -------------------------------------------------------------------------------- /docs/_committers/jay-kreps.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Jay Kreps 3 | website: 4 | linkedin: https://www.linkedin.com/in/jaykreps 5 | twitter: jaykreps 6 | image: 7 | github: jkreps 8 | pmc_member: true 9 | job_title: 10 | samza_title: 11 | order: 60 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_committers/ke-wu.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Ke Wu 3 | website: 4 | linkedin: https://www.linkedin.com/in/kwu 5 | twitter: 6 | image: 7 | github: kw2542 8 | pmc_member: false 9 | job_title: 10 | samza_title: 11 | order: 120 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_committers/martin-kleppmann.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Martin Kleppmann 3 | website: 4 | linkedin: https://www.linkedin.com/in/martinkleppmann 5 | twitter: martinkl 6 | image: 7 | github: ept 8 | pmc_member: true 9 | job_title: 10 | samza_title: 11 | order: 55 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_committers/navina-ramesh.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Navina Ramesh 3 | website: 4 | linkedin: https://www.linkedin.com/in/rnavina 5 | twitter: navina_r 6 | image: 7 | github: navina 8 | pmc_member: true 9 | job_title: 10 | samza_title: 11 | order: 10 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_committers/prateek-maheshwari.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Prateek Maheshwari 3 | website: 4 | linkedin: https://www.linkedin.com/in/mprateek 5 | twitter: 6 | image: 7 | github: prateekm-li 8 | pmc_member: false 9 | job_title: 10 | samza_title: 11 | order: 80 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_committers/rayman-singh.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Rayman Preet Singh 3 | website: 4 | linkedin: https://www.linkedin.com/in/rayman-preet-singh-225a5b121/ 5 | twitter: 6 | image: 7 | github: rmatharu 8 | pmc_member: false 9 | job_title: 10 | samza_title: 11 | order: 125 12 | --- 13 | 29 | -------------------------------------------------------------------------------- /docs/_committers/sanil-jain.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Sanil Jain 3 | website: 4 | linkedin: https://www.linkedin.com/in/sanil15/ 5 | twitter: 6 | image: 7 | github: Sanil15 8 | pmc_member: false 9 | job_title: 10 | samza_title: 11 | order: 115 12 | --- 13 | 29 | -------------------------------------------------------------------------------- /docs/_committers/shanthoosh-venkataraman.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Shanthoosh Venkataraman 3 | website: 4 | linkedin: https://www.linkedin.com/in/shanthoosh-venkataraman-13857222/ 5 | twitter: santhoshvenkat 6 | image: 7 | github: shanthoosh 8 | pmc_member: false 9 | job_title: 10 | samza_title: 11 | order: 100 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_committers/shekhar-sharma.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Shekhar Sharma 3 | website: 4 | linkedin: https://www.linkedin.com/in/shekharsh/ 5 | twitter: 6 | image: 7 | github: shekhars-li 8 | pmc_member: false 9 | job_title: Sr Software Engineer 10 | samza_title: 11 | order: 140 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_committers/sriram-subramanian.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Sriram Subramanian 3 | website: 4 | linkedin: https://www.linkedin.com/pub/sriram-subramanian/3/52a/162 5 | twitter: sriramsub1 6 | image: 7 | github: 8 | pmc_member: true 9 | job_title: 10 | samza_title: 11 | order: 65 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_committers/wei-song.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Wei Song 3 | website: 4 | linkedin: https://www.linkedin.com/in/weisong44 5 | twitter: 6 | image: 7 | github: weisong44 8 | pmc_member: false 9 | job_title: 10 | samza_title: 11 | order: 85 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_committers/xinyu-liu.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Xinyu Liu 3 | website: 4 | linkedin: https://www.linkedin.com/in/xinyu-liu-b0b21648 5 | twitter: 6 | image: 7 | github: xinyuiscool 8 | pmc_member: true 9 | job_title: 10 | samza_title: 11 | order: 25 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_committers/yan-fang.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Yan Fang 3 | website: 4 | linkedin: https://www.linkedin.com/in/yanfangus 5 | twitter: yanfang724 6 | image: 7 | github: 8 | pmc_member: true 9 | job_title: 10 | samza_title: 11 | order: 40 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_committers/yi-pan.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Yi Pan 3 | website: 4 | linkedin: https://www.linkedin.com/pub/yi-pan/9/85a/238 5 | twitter: nickpan47 6 | image: 7 | github: nickpan47 8 | pmc_member: true 9 | job_title: 10 | samza_title: VP of Apache Samza 11 | order: 5 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_committers/zhijie-shen.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Zhijie Shen 3 | website: 4 | linkedin: https://www.linkedin.com/in/zjshen 5 | twitter: zhijieshen 6 | image: 7 | github: 8 | pmc_member: true 9 | job_title: 10 | samza_title: 11 | order: 70 12 | --- 13 | -------------------------------------------------------------------------------- /docs/_meetups/jun-2015.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: June 2015 3 | display_date: June 2015 4 | meetups: 5 | - name: 'Going Realtime with Kafka and Samza at Improve Digital)' 6 | host: GeekOut 7 | image: 8 | presenters: 9 | - name: Garry Turkington 10 | website: 11 | image: 12 | affiliation: IMPROVE DIGITAL 13 | slides: 14 | url: https://2015.geekout.ee/schedule/kafka-ans-samza/ 15 | --- 16 | -------------------------------------------------------------------------------- /docs/_powered-by/cavulus.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Cavulus 3 | domain: cavulus.com 4 | priority: 3 5 | --- 6 | 22 | 23 | Cavulus specializes in Medicare Advantage workflow automation. We uses Samza + JRuby alongside Kafka as an RPC buffer, all on Amazon's Elastic Container Service. These technologies give us high throughput and durability guarantees, and together form our processing engine's "central nervous system". -------------------------------------------------------------------------------- /docs/_powered-by/fortscale.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Fortscale 3 | domain: fortscale.com 4 | priority: 3 5 | --- 6 | 22 | 23 | Fortscale is redefining behavioral analytics, with the industry’s first embeddable engine, making behavioral analytics available for everyone. It is using Samza to process security events as part of their data ingestion pipelines and for the creation of on-line machine learning models. -------------------------------------------------------------------------------- /docs/_powered-by/happypancake.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: HappyPancake 3 | domain: happypancake.com 4 | priority: 5 5 | --- 6 | 22 | 23 | Happy Pancake, Northern Europe's largest internet dating service, is using Samza for all event handlers and data replication. 24 | -------------------------------------------------------------------------------- /docs/_powered-by/improve-digital.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: ImproveDigital 3 | domain: improvedigital.com 4 | priority: 5 5 | --- 6 | 22 | 23 | Improve Digital is using Samza as the foundation of its realtime processing capabilities, data analytics needs and alerting systems. 24 | -------------------------------------------------------------------------------- /docs/_powered-by/intuit.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Intuit 3 | domain: intuit.com 4 | priority: 1 5 | --- 6 | 22 | 23 | At Intuit, we use Samza to enrich events with more contextual data from various sources (CMDB, Change Management, Incident Management, Problem Management). This gives us more meaningful events that an operations centre person can act on. -------------------------------------------------------------------------------- /docs/_powered-by/jha.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Banno 3 | domain: banno.com 4 | priority: 3 5 | --- 6 | 22 | 23 | Jack Henry and Associates is an S&P 400 company that supports more than 11,300 financial institutions with core processing services. It leverages Samza to process user-activity data across its Banno suite of products for financial institutions. -------------------------------------------------------------------------------- /docs/_powered-by/linkedin.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: LinkedIn 3 | domain: linkedin.com 4 | priority: 0 5 | --- 6 | 22 | 23 | Samza was originally developed at LinkedIn. It's currently used to process tracking data, logs from various services, and for streaming data pipelines. -------------------------------------------------------------------------------- /docs/_powered-by/metamarkets.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Metamarkets 3 | domain: metamarkets.com 4 | priority: 3 5 | --- 6 | 22 | 23 | Metamarkets offers an interactive analytics platform for buyers and sellers of programmatic advertising. It uses Samza to transform and join real-time event streams, then forward them into a Druid cluster for interactive querying. -------------------------------------------------------------------------------- /docs/_powered-by/mobileaware.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: MobileAware 3 | domain: mobileaware.com 4 | priority: 4 5 | --- 6 | 22 | 23 | At MobileAware, we use Samza to enrich events with more contextual data from various sources (CMDB, Change Management, Incident Management, Problem Management). This gives us more meaningful events that an operations centre person can act on. -------------------------------------------------------------------------------- /docs/_powered-by/movio.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Movio 3 | domain: movio.co 4 | priority: 4 5 | --- 6 | 22 | 23 | Movio offers data-driven marketing solutions for the film industry. At Movio, we use Samza to process and enrich billions of change data capture events on all databases in real-time. -------------------------------------------------------------------------------- /docs/_powered-by/optimizely.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Optimizely 3 | domain: optimizely.com 4 | priority: 2 5 | --- 6 | 22 | 23 | Optimizely, the world's leader in customer experience optimization uses Apache Samza to aggregate and enrich billions of events per day to power real-time analytics of experiments and personalization experiences. -------------------------------------------------------------------------------- /docs/_powered-by/slack.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Slack 3 | domain: slack.com 4 | priority: 1 5 | --- 6 | 22 | 23 | Slack uses Samza to build their streaming data pipelines for monitoring and analytics. 24 | -------------------------------------------------------------------------------- /docs/_powered-by/tivo.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Tivo 3 | domain: tivo.com 4 | priority: 1 5 | --- 6 | 22 | 23 | Tivo is a digital video recorder that allows users to save TV programs for later viewing based on an electronic TV programming schedule. It leverages Samza for realtime processing of views and ratings to help power personalized content recommendations and analytics. -------------------------------------------------------------------------------- /docs/_powered-by/tripadvisor.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Tripadvisor 3 | domain: tripadvisor.com 4 | priority: 1 5 | --- 6 | 22 | 23 | Tripadvisor is the world's largest travel site, enabling travelers to plan and book the perfect trip. It uses Apache Samza to process billions of events daily for analytics, machine learning, and site improvement. -------------------------------------------------------------------------------- /docs/_releases/0.7.0.md: -------------------------------------------------------------------------------- 1 | --- 2 | version: '0.7.0' 3 | order: 7 4 | link: /learn/documentation/0.7.0/introduction/background.html 5 | --- 6 | 22 | -------------------------------------------------------------------------------- /docs/_releases/0.8.md: -------------------------------------------------------------------------------- 1 | --- 2 | version: '0.8' 3 | order: 8 4 | link: /learn/documentation/0.8/introduction/background.html 5 | --- 6 | 22 | -------------------------------------------------------------------------------- /docs/_releases/0.9.md: -------------------------------------------------------------------------------- 1 | --- 2 | version: '0.9' 3 | order: 9 4 | link: /learn/documentation/0.9/introduction/background.html 5 | --- 6 | 22 | -------------------------------------------------------------------------------- /docs/_releases/TEMPLATE.md: -------------------------------------------------------------------------------- 1 | --- 2 | exclude_from_loop: true # useful for drafts 3 | version: '0.7' # make sure it is a string 4 | order: 7 # this matters for sorting... since .7 needs to be thought of as an earlier version than .14... if you need to do 1.7 do 107, 1.14 as 114. 5 | --- 6 | 22 | -------------------------------------------------------------------------------- /docs/_releases/older.md: -------------------------------------------------------------------------------- 1 | --- 2 | exclude_from_loop: true # useful for drafts 3 | version: '-1000' 4 | order: -1000 5 | layout: page 6 | menu_title: 'View Older' 7 | title: Older Releases 8 | --- 9 | 25 | 26 | 27 | ### 0.8 28 | 29 | ### 0.9 30 | 31 | ### 0.7.0 32 | 33 | 34 | -------------------------------------------------------------------------------- /docs/_talks/june-2018--bangalore-kafka-group.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: June 2018 3 | display_date: June 2018 4 | event: 5 | name: Stream Processing at LinkedIn with Apache Samza 6 | url: https://www.meetup.com/Bangalore-Apache-Kafka-Group/events/251707854/ 7 | host: Bangalore Kafka Group 8 | image: 9 | video: 10 | url: 11 | image: 12 | slides: 13 | url: https://www.slideshare.net/AbhishekShivanna/streamprocessingatlinkedinwithapachesamza-105630048 14 | --- 15 | -------------------------------------------------------------------------------- /docs/_talks/november-2017-big-data-span-2017.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: November 2017 3 | display_date: November 2017 4 | event: 5 | name: Unified Stream Processing at Scale with Apache Samza 6 | url: https://www.meetup.com/Bangalore-Apache-Kafka-Group/events/251707854/ 7 | host: BigDataSpain 2017 8 | image: 9 | video: 10 | url: 11 | image: 12 | slides: 13 | url: https://www.slideshare.net/AbhishekShivanna/streamprocessingatlinkedinwithapachesamza-105630048 14 | --- 15 | -------------------------------------------------------------------------------- /docs/_talks/november-2018--totally-awesome-summit.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: November 12th, 2018 3 | display_date: November 12th, 2018 4 | event: 5 | name: Totally awesome event 6 | url: https://google.com 7 | host: Totally awesome summit 8 | image: 9 | video: 10 | url: 11 | image: 12 | slides: 13 | url: 14 | --- 15 | -------------------------------------------------------------------------------- /docs/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /docs/fonts/RopaSans-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/fonts/RopaSans-Regular-webfont.woff -------------------------------------------------------------------------------- /docs/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /docs/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /docs/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /docs/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /docs/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /docs/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /docs/fonts/ionicons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/fonts/ionicons.eot -------------------------------------------------------------------------------- /docs/fonts/ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/fonts/ionicons.ttf -------------------------------------------------------------------------------- /docs/fonts/ionicons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/fonts/ionicons.woff -------------------------------------------------------------------------------- /docs/fonts/ionicons.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/fonts/ionicons.woff2 -------------------------------------------------------------------------------- /docs/img/apache-egg-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/apache-egg-logo.png -------------------------------------------------------------------------------- /docs/img/asc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/asc.gif -------------------------------------------------------------------------------- /docs/img/bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/bg.gif -------------------------------------------------------------------------------- /docs/img/desc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/desc.gif -------------------------------------------------------------------------------- /docs/img/favicon/apple-touch-icon-114x114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/favicon/apple-touch-icon-114x114.png -------------------------------------------------------------------------------- /docs/img/favicon/apple-touch-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/favicon/apple-touch-icon-120x120.png -------------------------------------------------------------------------------- /docs/img/favicon/apple-touch-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/favicon/apple-touch-icon-144x144.png -------------------------------------------------------------------------------- /docs/img/favicon/apple-touch-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/favicon/apple-touch-icon-152x152.png -------------------------------------------------------------------------------- /docs/img/favicon/apple-touch-icon-57x57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/favicon/apple-touch-icon-57x57.png -------------------------------------------------------------------------------- /docs/img/favicon/apple-touch-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/favicon/apple-touch-icon-60x60.png -------------------------------------------------------------------------------- /docs/img/favicon/apple-touch-icon-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/favicon/apple-touch-icon-72x72.png -------------------------------------------------------------------------------- /docs/img/favicon/apple-touch-icon-76x76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/favicon/apple-touch-icon-76x76.png -------------------------------------------------------------------------------- /docs/img/favicon/favicon-128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/favicon/favicon-128.png -------------------------------------------------------------------------------- /docs/img/favicon/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/favicon/favicon-16x16.png -------------------------------------------------------------------------------- /docs/img/favicon/favicon-196x196.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/favicon/favicon-196x196.png -------------------------------------------------------------------------------- /docs/img/favicon/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/favicon/favicon-32x32.png -------------------------------------------------------------------------------- /docs/img/favicon/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/favicon/favicon-96x96.png -------------------------------------------------------------------------------- /docs/img/favicon/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/favicon/favicon.ico -------------------------------------------------------------------------------- /docs/img/favicon/mstile-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/favicon/mstile-144x144.png -------------------------------------------------------------------------------- /docs/img/favicon/mstile-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/favicon/mstile-150x150.png -------------------------------------------------------------------------------- /docs/img/favicon/mstile-310x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/favicon/mstile-310x150.png -------------------------------------------------------------------------------- /docs/img/favicon/mstile-310x310.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/favicon/mstile-310x310.png -------------------------------------------------------------------------------- /docs/img/favicon/mstile-70x70.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/favicon/mstile-70x70.png -------------------------------------------------------------------------------- /docs/img/feather.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/feather.gif -------------------------------------------------------------------------------- /docs/img/samza-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/samza-icon.png -------------------------------------------------------------------------------- /docs/img/samza-just-logo-transparent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/samza-just-logo-transparent.png -------------------------------------------------------------------------------- /docs/img/samza-logo-no-text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/samza-logo-no-text.png -------------------------------------------------------------------------------- /docs/img/samza-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/samza-logo.png -------------------------------------------------------------------------------- /docs/img/samza-logo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/samza-logo@2x.png -------------------------------------------------------------------------------- /docs/img/versioned/case-studies/linkedin-atc-samza-pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/case-studies/linkedin-atc-samza-pipeline.png -------------------------------------------------------------------------------- /docs/img/versioned/case-studies/slack-samza-pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/case-studies/slack-samza-pipeline.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/api/samza-arch-detailed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/api/samza-arch-detailed.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/api/samza-arch1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/api/samza-arch1.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/api/samza-arch2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/api/samza-arch2.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/api/samza-arch3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/api/samza-arch3.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/api/samza-arch4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/api/samza-arch4.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/api/samza-arch5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/api/samza-arch5.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/api/samza-arch6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/api/samza-arch6.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/api/samza-arch7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/api/samza-arch7.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/api/samza-arch8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/api/samza-arch8.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/api/table-api-class-diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/api/table-api-class-diagram.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/architecture/distributed-execution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/architecture/distributed-execution.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/architecture/fault-tolerance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/architecture/fault-tolerance.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/architecture/incremental-checkpointing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/architecture/incremental-checkpointing.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/architecture/state-store.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/architecture/state-store.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/architecture/task-assignment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/architecture/task-assignment.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/case-study/ebay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/case-study/ebay.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/comparisons/mupd8-samza.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/comparisons/mupd8-samza.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/comparisons/mupd8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/comparisons/mupd8.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/container/stateful_job.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/container/stateful_job.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/container/stream_job_and_db.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/container/stream_job_and_db.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/container/visualvm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/container/visualvm.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/core-concepts/stream-application.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/core-concepts/stream-application.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/core-concepts/streams-partitions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/core-concepts/streams-partitions.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/hadoop/multi_stage_batch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/hadoop/multi_stage_batch.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/hadoop/unified_batch_streaming.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/hadoop/unified_batch_streaming.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/introduction/coordination-service.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/introduction/coordination-service.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/introduction/dag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/introduction/dag.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/introduction/execution-plan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/introduction/execution-plan.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/introduction/group-by-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/introduction/group-by-example.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/introduction/job.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/introduction/job.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/introduction/job_detail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/introduction/job_detail.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/introduction/layered-arch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/introduction/layered-arch.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/introduction/samza-ecosystem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/introduction/samza-ecosystem.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/introduction/samza-hadoop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/introduction/samza-hadoop.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/introduction/samza-yarn-integration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/introduction/samza-yarn-integration.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/introduction/samza-yarn-kafka-integration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/introduction/samza-yarn-kafka-integration.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/introduction/samza_state.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/introduction/samza_state.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/introduction/stream.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/introduction/stream.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/motivation/data-processing-spectrum-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/motivation/data-processing-spectrum-1.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/motivation/data-processing-spectrum-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/motivation/data-processing-spectrum-2.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/motivation/data-processing-spectrum-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/motivation/data-processing-spectrum-3.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/operations/jconsole.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/operations/jconsole.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/operations/visualvm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/operations/visualvm.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/rest/JobsResource.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/rest/JobsResource.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/standalone/standalone-application.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/standalone/standalone-application.jpg -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/yarn/am-container-info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/yarn/am-container-info.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/yarn/am-job-model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/yarn/am-job-model.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/yarn/am-runtime-configs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/yarn/am-runtime-configs.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/yarn/am-runtime-metadata.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/yarn/am-runtime-metadata.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/yarn/coordinator-internals.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/yarn/coordinator-internals.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/yarn/samza-am-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/yarn/samza-am-dashboard.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/yarn/samza-host-affinity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/yarn/samza-host-affinity.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/documentation/yarn/yarn-am-ui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/documentation/yarn/yarn-am-ui.png -------------------------------------------------------------------------------- /docs/img/versioned/learn/tutorials/hello-samza-high-level/wikipedia-execution-plan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/docs/img/versioned/learn/tutorials/hello-samza-high-level/wikipedia-execution-plan.png -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 | -------------------------------------------------------------------------------- /docs/learn/documentation/versioned/architecture/kinesis.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title: Architecture page 4 | --- 5 | 21 | 22 | ## Samza architecture page 23 | 24 | -------------------------------------------------------------------------------- /docs/learn/documentation/versioned/rest/resource-directory.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title: Resource Directory 4 | --- 5 | 21 | 22 | The Samza REST Service ships with the JAX-RS Resources listed below. 23 | 24 | - [JobsResource](resources/jobs.html) 25 | - [TasksResource](resources/tasks.html) 26 | 27 | ## [Jobs Resource »](resources/jobs.html) 28 | ## [Tasks Resource »](resources/tasks.html) 29 | -------------------------------------------------------------------------------- /docs/less/variables.less: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one 2 | // or more contributor license agreements. See the NOTICE file 3 | // distributed with this work for additional information 4 | // regarding copyright ownership. The ASF licenses this file 5 | // to you under the Apache License, Version 2.0 (the 6 | // "License"); you may not use this file except in compliance 7 | // with the License. You may obtain a copy of the License at 8 | // 9 | // http://www.apache.org/licenses/LICENSE-2.0 10 | // 11 | // Unless required by applicable law or agreed to in writing, 12 | // software distributed under the License is distributed on an 13 | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | // KIND, either express or implied. See the License for the 15 | // specific language governing permissions and limitations 16 | // under the License. 17 | 18 | @masthead-background-color: #F5F4F0; 19 | @masthead-logo-color: #ff0000; 20 | @masthead-icon-color: #d3d2d0; 21 | -------------------------------------------------------------------------------- /docs/startup/code-examples/versioned/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title: Code Examples 4 | --- 5 | 21 | 22 | [Samza Code Examples](samza.html) 23 | 24 | [Beam Code Examples](beam.html) -------------------------------------------------------------------------------- /docs/startup/quick-start/versioned/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: page 3 | title: Quick Start 4 | --- 5 | 21 | 22 | [Samza Tutorial](samza.html) 23 | 24 | [Samza SQL Tutorial](samza-sql.html) 25 | 26 | [Beam on Samza Tutorial](beam.html) 27 | -------------------------------------------------------------------------------- /gradle/maven.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | subprojects { 20 | apply plugin: 'maven-publish' 21 | 22 | publishing { 23 | publications { 24 | mavenJava(MavenPublication) { 25 | afterEvaluate { 26 | from components.java 27 | if(project.name == 'samza-shell') { 28 | artifact shellTarGz 29 | } 30 | } 31 | } 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /gradle/stacktrace.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | /* 20 | * This script enables showing stacktraces whenever the build fails. 21 | */ 22 | 23 | import org.gradle.api.logging.configuration.ShowStacktrace 24 | 25 | gradle.startParameter.showStacktrace = ShowStacktrace.ALWAYS_FULL 26 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.9.2-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/config/ConfigLoader.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.config; 21 | 22 | /** 23 | * The primary means of fetching full job {@link org.apache.samza.config.Config} on 24 | * LocalApplicationRunner and ClusterBasedJobCoordinator during start up. 25 | */ 26 | public interface ConfigLoader { 27 | Config getConfig(); 28 | } 29 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/config/ConfigRewriter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.config; 21 | 22 | /** 23 | * A ConfigRewriter receives the job's config during job startup and may re-write it to provide new configs, 24 | * remove existing configs or audit and verify the config is correct or permitted. 25 | */ 26 | public interface ConfigRewriter { 27 | Config rewrite(String name, Config config); 28 | } 29 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/container/grouper/stream/SystemStreamPartitionMapperFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.samza.container.grouper.stream; 20 | 21 | import org.apache.samza.config.Config; 22 | import org.apache.samza.metrics.MetricsRegistry; 23 | 24 | public interface SystemStreamPartitionMapperFactory { 25 | SystemStreamPartitionMapper getStreamPartitionMapper(Config config, MetricsRegistry metricsRegistry); 26 | } 27 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/coordinator/lifecycle/JobRestartSignalFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.samza.coordinator.lifecycle; 20 | 21 | /** 22 | * See {@link JobRestartSignal}. 23 | */ 24 | public interface JobRestartSignalFactory { 25 | JobRestartSignal build(JobRestartSignalFactoryContext context); 26 | } -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/job/StreamJobFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.job; 21 | 22 | import org.apache.samza.config.Config; 23 | 24 | /** 25 | * Build a {@link org.apache.samza.job.StreamJob} 26 | */ 27 | public interface StreamJobFactory { 28 | StreamJob getJob(Config config); 29 | } 30 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/metrics/Metric.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.metrics; 21 | 22 | /** 23 | * Metric class that allows metric visitors to visit it to get its information. 24 | */ 25 | public interface Metric { 26 | void visit(MetricsVisitor visitor); 27 | } 28 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/metrics/MetricsReporterFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.metrics; 21 | 22 | import java.io.Serializable; 23 | import org.apache.samza.config.Config; 24 | 25 | /** 26 | * Build a {@link org.apache.samza.metrics.MetricsReporter} 27 | */ 28 | public interface MetricsReporterFactory extends Serializable { 29 | MetricsReporter getMetricsReporter(String name, String processorId, Config config); 30 | } 31 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/metrics/ReadableMetricsRegistryListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.metrics; 21 | 22 | public interface ReadableMetricsRegistryListener { 23 | void onCounter(String group, Counter counter); 24 | 25 | void onGauge(String group, Gauge gauge); 26 | 27 | void onTimer(String group, Timer timer); 28 | } 29 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/operators/OutputStream.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.samza.operators; 20 | 21 | import org.apache.samza.annotation.InterfaceStability; 22 | 23 | /** 24 | * An output stream to send messages to. 25 | * 26 | * @param the type of message being sent to this {@link OutputStream} 27 | */ 28 | @InterfaceStability.Unstable 29 | public interface OutputStream { 30 | 31 | } 32 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/operators/triggers/DurationCharacteristic.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.samza.operators.triggers; 20 | 21 | /** 22 | * Indicates whether the associated time duration is in event time or processing time. 23 | */ 24 | public enum DurationCharacteristic { 25 | PROCESSING_TIME, EVENT_TIME 26 | } 27 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/operators/triggers/FiringType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.samza.operators.triggers; 20 | 21 | /** 22 | * The type of the {@link org.apache.samza.operators.triggers.Trigger} firing. 23 | * Firings can be either early or late or default. Late triggers are not supported currently. 24 | */ 25 | public enum FiringType { 26 | EARLY, 27 | DEFAULT, 28 | LATE 29 | } 30 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/operators/windows/internal/WindowType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.samza.operators.windows.internal; 20 | 21 | public enum WindowType { 22 | TUMBLING, SESSION 23 | //,SLIDING 24 | } 25 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/runtime/LocationIdProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.samza.runtime; 20 | 21 | /** 22 | * Generates {@link LocationId} that uniquely identifies the 23 | * execution environment of a stream processor. 24 | */ 25 | public interface LocationIdProvider { 26 | 27 | LocationId getLocationId(); 28 | } 29 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/runtime/LocationIdProviderFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.samza.runtime; 20 | 21 | import org.apache.samza.config.Config; 22 | 23 | /** 24 | * Builds the {@link LocationIdProvider}. 25 | */ 26 | public interface LocationIdProviderFactory { 27 | LocationIdProvider getLocationIdProvider(Config config); 28 | } 29 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/runtime/ProcessorContext.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.samza.runtime; 20 | 21 | import org.apache.samza.annotation.InterfaceStability; 22 | 23 | 24 | /** 25 | * The context for a StreamProcessor. A placeholder class for the general context for Samza application. 26 | * 27 | * TODO: pending change with SAMZA-1714 28 | */ 29 | @InterfaceStability.Unstable 30 | public interface ProcessorContext { 31 | } 32 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/serializers/ByteBufferSerdeFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.serializers; 21 | 22 | import org.apache.samza.config.Config; 23 | 24 | import java.nio.ByteBuffer; 25 | 26 | public class ByteBufferSerdeFactory implements SerdeFactory { 27 | 28 | @Override 29 | public Serde getSerde(String name, Config config) { 30 | return new ByteBufferSerde(); 31 | } 32 | } -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/serializers/ByteSerdeFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.serializers; 21 | 22 | import org.apache.samza.config.Config; 23 | 24 | public class ByteSerdeFactory implements SerdeFactory { 25 | 26 | @Override 27 | public Serde getSerde(String name, Config config) { 28 | return new ByteSerde(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/serializers/DoubleSerdeFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.serializers; 21 | 22 | import org.apache.samza.config.Config; 23 | 24 | public class DoubleSerdeFactory implements SerdeFactory { 25 | 26 | @Override 27 | public Serde getSerde(String name, Config config) { 28 | return new DoubleSerde(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/serializers/IntegerSerdeFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.serializers; 21 | 22 | import org.apache.samza.config.Config; 23 | 24 | public class IntegerSerdeFactory implements SerdeFactory { 25 | 26 | @Override 27 | public Serde getSerde(String name, Config config) { 28 | return new IntegerSerde(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/serializers/JsonSerdeV2Factory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.serializers; 21 | 22 | import org.apache.samza.config.Config; 23 | 24 | public class JsonSerdeV2Factory implements SerdeFactory { 25 | @Override 26 | public JsonSerdeV2 getSerde(String name, Config config) { 27 | return new JsonSerdeV2<>(); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/serializers/LongSerdeFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.serializers; 21 | 22 | import org.apache.samza.config.Config; 23 | 24 | public class LongSerdeFactory implements SerdeFactory { 25 | 26 | @Override 27 | public LongSerde getSerde(String name, Config config) { 28 | return new LongSerde(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/serializers/SerdeFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.serializers; 21 | 22 | import org.apache.samza.config.Config; 23 | 24 | /** 25 | * Build an instance of {@link org.apache.samza.serializers.Serde} 26 | * @param The type of serialized object this factory's output can both read and write 27 | */ 28 | public interface SerdeFactory { 29 | Serde getSerde(String name, Config config); 30 | } 31 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/serializers/StringSerdeFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.serializers; 21 | 22 | import org.apache.samza.config.Config; 23 | 24 | public class StringSerdeFactory implements SerdeFactory { 25 | 26 | @Override 27 | public Serde getSerde(String name, Config config) { 28 | return new StringSerde(config.get("encoding", "UTF-8")); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/serializers/UUIDSerdeFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.serializers; 21 | 22 | import org.apache.samza.config.Config; 23 | 24 | import java.util.UUID; 25 | 26 | public class UUIDSerdeFactory implements SerdeFactory { 27 | 28 | @Override 29 | public Serde getSerde(String name, Config config) { 30 | return new UUIDSerde(); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/storage/kv/KeyValueIterator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.storage.kv; 21 | 22 | import java.util.Iterator; 23 | 24 | public interface KeyValueIterator extends Iterator> { 25 | public void close(); 26 | } 27 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/system/StreamValidationException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.samza.system; 20 | 21 | import org.apache.samza.SamzaException; 22 | 23 | 24 | public class StreamValidationException extends SamzaException { 25 | private static final long serialVersionUID = 1L; 26 | 27 | public StreamValidationException(String s) { 28 | super(s); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /samza-api/src/main/java/org/apache/samza/system/SystemStreamPartitionMatcher.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.system; 21 | 22 | import org.apache.samza.config.Config; 23 | 24 | import java.util.Set; 25 | 26 | public interface SystemStreamPartitionMatcher { 27 | Set filter(Set systemStreamPartitions, Config config); 28 | } 29 | -------------------------------------------------------------------------------- /samza-azure/src/main/java/org/apache/samza/coordinator/data/BarrierState.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.coordinator.data; 21 | 22 | /** 23 | * Enum depicting different barrier states. 24 | */ 25 | public enum BarrierState { 26 | START, END, TIMEOUT 27 | } 28 | -------------------------------------------------------------------------------- /samza-azure/src/main/java/org/apache/samza/coordinator/scheduler/SchedulerStateChangeListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.coordinator.scheduler; 21 | 22 | /** 23 | * Listener interface for Azure Job Coordinator, to track state changes and take necessary actions. 24 | */ 25 | public interface SchedulerStateChangeListener { 26 | 27 | void onStateChange(); 28 | 29 | } 30 | -------------------------------------------------------------------------------- /samza-azure/src/main/java/org/apache/samza/system/azureblob/compression/CompressionType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.system.azureblob.compression; 21 | 22 | /** 23 | * The compression type to use. 24 | * Supported compression types: 25 | * - None: no compression is applied 26 | * - GZIP: gzip compression is applied 27 | */ 28 | public enum CompressionType { 29 | NONE, GZIP 30 | } 31 | 32 | -------------------------------------------------------------------------------- /samza-azure/src/main/java/org/apache/samza/system/eventhub/admin/PassThroughInterceptor.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.system.eventhub.admin; 21 | 22 | import org.apache.samza.system.eventhub.Interceptor; 23 | 24 | /** 25 | * An default {@link Interceptor} that is a pass-through. 26 | */ 27 | public class PassThroughInterceptor implements Interceptor { 28 | 29 | @Override 30 | public byte[] intercept(byte[] bytes) { 31 | return bytes; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /samza-core/src/main/java/org/apache/samza/clustermanager/FaultDomainType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.samza.clustermanager; 20 | 21 | /** 22 | * This enum defines the type of fault domain used depending on the environment they are in. 23 | */ 24 | public enum FaultDomainType { 25 | RACK 26 | } 27 | -------------------------------------------------------------------------------- /samza-core/src/main/java/org/apache/samza/container/SecurityManager.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.container; 21 | 22 | /** 23 | * Manage the security of the environment. 24 | */ 25 | public interface SecurityManager { 26 | void start(); 27 | 28 | void stop(); 29 | } 30 | -------------------------------------------------------------------------------- /samza-core/src/main/java/org/apache/samza/container/SecurityManagerFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.container; 21 | 22 | import org.apache.samza.config.Config; 23 | 24 | /** 25 | * Create an instance of {@link SecurityManager}. 26 | */ 27 | public interface SecurityManagerFactory { 28 | SecurityManager getSecurityManager(Config config); 29 | } 30 | -------------------------------------------------------------------------------- /samza-core/src/main/java/org/apache/samza/coordinator/LeaderElectorListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.samza.coordinator; 20 | 21 | /** 22 | * This call back should be passed to {@link LeaderElector#tryBecomeLeader} and 23 | * will be invoked if the caller becomes the leader. 24 | */ 25 | public interface LeaderElectorListener { 26 | void onBecomingLeader(); 27 | } 28 | -------------------------------------------------------------------------------- /samza-core/src/main/java/org/apache/samza/coordinator/communication/JobInfoProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.samza.coordinator.communication; 20 | 21 | import java.util.Optional; 22 | 23 | 24 | /** 25 | * Used by implementors of {@link CoordinatorCommunication} to access job information for coordinator-to-worker 26 | * communication. 27 | */ 28 | public interface JobInfoProvider { 29 | Optional getSerializedJobModel(); 30 | } 31 | -------------------------------------------------------------------------------- /samza-core/src/main/java/org/apache/samza/coordinator/lifecycle/NoOpJobRestartSignalFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.samza.coordinator.lifecycle; 20 | 21 | public class NoOpJobRestartSignalFactory implements JobRestartSignalFactory { 22 | @Override 23 | public JobRestartSignal build(JobRestartSignalFactoryContext context) { 24 | return new NoOpJobRestartSignal(); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /samza-core/src/main/java/org/apache/samza/migration/MigrationPlan.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.migration; 21 | 22 | import org.apache.samza.config.Config; 23 | 24 | 25 | public interface MigrationPlan { 26 | void migrate(Config config); 27 | } -------------------------------------------------------------------------------- /samza-core/src/main/java/org/apache/samza/table/batching/CompactBatchProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.table.batching; 21 | 22 | public class CompactBatchProvider extends BatchProvider { 23 | @Override 24 | public Batch getBatch() { 25 | return new CompactBatch<>(getMaxBatchSize(), getMaxBatchDelay()); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /samza-core/src/main/java/org/apache/samza/table/batching/CompleteBatchProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.table.batching; 21 | 22 | public class CompleteBatchProvider extends BatchProvider { 23 | @Override 24 | public Batch getBatch() { 25 | return new CompleteBatch<>(getMaxBatchSize(), getMaxBatchDelay()); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /samza-core/src/main/java/org/apache/samza/task/TaskCallbackFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.task; 21 | 22 | /** 23 | * TaskCallbackFactory creates the {@link TaskCallback} for {@link org.apache.samza.container.TaskInstance} 24 | * to process asynchronously 25 | */ 26 | public interface TaskCallbackFactory { 27 | TaskCallback createCallback(); 28 | } -------------------------------------------------------------------------------- /samza-core/src/main/scala/org/apache/samza/container/SameThreadExecutor.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.container 21 | 22 | import java.util.concurrent.Executor 23 | 24 | private[container] class SameThreadExecutor() extends Executor { 25 | override def execute(command: Runnable): Unit = command.run() 26 | } 27 | -------------------------------------------------------------------------------- /samza-core/src/test/java/org/apache/samza/runtime/MockProcessorIdGenerator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.runtime; 21 | 22 | import org.apache.samza.config.Config; 23 | 24 | public class MockProcessorIdGenerator implements ProcessorIdGenerator { 25 | @Override 26 | public String generateProcessorId(Config config) { 27 | return "testProcessorId"; 28 | } 29 | } -------------------------------------------------------------------------------- /samza-core/src/test/resources/classloader/classpath/placeholder-jar.jar: -------------------------------------------------------------------------------- 1 | NOT AN ACTUAL JAR; JUST A PLACEHOLDER FOR A TEST 2 | -------------------------------------------------------------------------------- /samza-core/src/test/resources/classloader/classpath/placeholder-txt.json: -------------------------------------------------------------------------------- 1 | {"key": "This is a placeholder file which should be ignored in testing, since it is not a jar/war."} -------------------------------------------------------------------------------- /samza-core/src/test/resources/classloader/classpath/placeholder-war.war: -------------------------------------------------------------------------------- 1 | NOT AN ACTUAL WAR; JUST A PLACEHOLDER FOR A TEST 2 | -------------------------------------------------------------------------------- /samza-core/src/test/resources/classloader/samza-framework-api-classes.txt: -------------------------------------------------------------------------------- 1 | org.apache.samza.JavaClass 2 | org.apache.samza.JavaClass$InnerJavaClass 3 | org.apache.samza.ScalaClass$ 4 | org.apache.samza.ScalaClass$$anon$1 5 | my.package.with.wildcard.* 6 | my.package.with.question.mark? -------------------------------------------------------------------------------- /samza-core/src/test/resources/empty.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-core/src/test/resources/empty.txt -------------------------------------------------------------------------------- /samza-core/src/test/resources/moreEnter.txt: -------------------------------------------------------------------------------- 1 | first line 2 | second line 3 | third line 4 | other lines 5 | -------------------------------------------------------------------------------- /samza-core/src/test/resources/noEnter.txt: -------------------------------------------------------------------------------- 1 | first line -------------------------------------------------------------------------------- /samza-core/src/test/resources/oneEnter.txt: -------------------------------------------------------------------------------- 1 | first line 2 | second line -------------------------------------------------------------------------------- /samza-core/src/test/resources/scalate/css/ropa-sans.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Ropa Sans'; 3 | font-style: normal; 4 | font-weight: 400; 5 | src: local('Ropa Sans'), local('RopaSans-Regular'), url('../fonts/RopaSans-Regular-webfont.woff') format('woff'); 6 | } 7 | -------------------------------------------------------------------------------- /samza-core/src/test/resources/test-migration-fail.properties: -------------------------------------------------------------------------------- 1 | # 2 | # 3 | # Licensed to the Apache Software Foundation (ASF) under one 4 | # or more contributor license agreements. See the NOTICE file 5 | # distributed with this work for additional information 6 | # regarding copyright ownership. The ASF licenses this file 7 | # to you under the Apache License, Version 2.0 (the 8 | # "License"); you may not use this file except in compliance 9 | # with the License. You may obtain a copy of the License at 10 | # 11 | # http://www.apache.org/licenses/LICENSE-2.0 12 | # 13 | # Unless required by applicable law or agreed to in writing, 14 | # software distributed under the License is distributed on an 15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | # KIND, either express or implied. See the License for the 17 | # specific language governing permissions and limitations 18 | # under the License. 19 | # 20 | # 21 | 22 | job.factory.class=org.apache.samza.job.MockJobFactory 23 | job.name=test-job 24 | foo=bar 25 | systems.coordinator.samza.factory=org.apache.samza.coordinator.stream.MockCoordinatorStreamSystemFactory 26 | task.checkpoint.factory=org.apache.samza.checkpoint.file.FileSystemCheckpointManagerFactory 27 | job.coordinator.system=coordinator 28 | -------------------------------------------------------------------------------- /samza-core/src/test/resources/test.properties: -------------------------------------------------------------------------------- 1 | # 2 | # 3 | # Licensed to the Apache Software Foundation (ASF) under one 4 | # or more contributor license agreements. See the NOTICE file 5 | # distributed with this work for additional information 6 | # regarding copyright ownership. The ASF licenses this file 7 | # to you under the Apache License, Version 2.0 (the 8 | # "License"); you may not use this file except in compliance 9 | # with the License. You may obtain a copy of the License at 10 | # 11 | # http://www.apache.org/licenses/LICENSE-2.0 12 | # 13 | # Unless required by applicable law or agreed to in writing, 14 | # software distributed under the License is distributed on an 15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | # KIND, either express or implied. See the License for the 17 | # specific language governing permissions and limitations 18 | # under the License. 19 | # 20 | # 21 | 22 | job.factory.class=org.apache.samza.job.MockJobFactory 23 | job.name=test-job 24 | foo=bar 25 | systems.coordinator.samza.factory=org.apache.samza.coordinator.stream.MockCoordinatorStreamSystemFactory 26 | job.coordinator.system=coordinator -------------------------------------------------------------------------------- /samza-core/src/test/resources/twoEnter.txt: -------------------------------------------------------------------------------- 1 | first line 2 | second line 3 | other lines -------------------------------------------------------------------------------- /samza-core/src/test/scala/org/apache/samza/metrics/TestMetricsHelper.scala: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.metrics 21 | 22 | import org.junit.Test 23 | import org.junit.Assert._ 24 | import org.apache.samza.container.SamzaContainerMetrics 25 | 26 | class TestMetricsHelper { 27 | @Test 28 | def testMetricsHelperGroupShouldBePackageName { 29 | assertEquals(classOf[SamzaContainerMetrics].getName, new SamzaContainerMetrics().group) 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /samza-elasticsearch/src/main/java/org/apache/samza/system/elasticsearch/client/ClientFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.system.elasticsearch.client; 21 | 22 | import org.elasticsearch.client.Client; 23 | 24 | /** 25 | * A factory that produces {@link Client} instances for connecting to an Elasticsearch cluster. 26 | */ 27 | public interface ClientFactory { 28 | 29 | Client getClient(); 30 | 31 | } 32 | -------------------------------------------------------------------------------- /samza-hdfs/src/test/resources/integTest/emptyTestFile: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. -------------------------------------------------------------------------------- /samza-hdfs/src/test/resources/partitioner/subfolder/testfile002: -------------------------------------------------------------------------------- 1 | censed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | -------------------------------------------------------------------------------- /samza-hdfs/src/test/resources/partitioner/testfile01: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. -------------------------------------------------------------------------------- /samza-hdfs/src/test/resources/partitioner/testfile02: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. -------------------------------------------------------------------------------- /samza-hdfs/src/test/resources/reader/TestEvent.avsc: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | { 21 | "type" : "record", 22 | "name" : "TestEvent", 23 | "namespace" : "HDFSConsumer", 24 | "fields" : [ 25 | { 26 | "name" : "field1", 27 | "type" : "int" 28 | }, 29 | { 30 | "name" : "field2", 31 | "type" : "string" 32 | }] 33 | } -------------------------------------------------------------------------------- /samza-hdfs/src/test/resources/samza-hdfs-test-batch-job-avro.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | systems.samza-hdfs-test-batch-job-avro.producer.hdfs.writer.class=org.apache.samza.system.hdfs.writer.AvroDataFileHdfsWriter 19 | systems.samza-hdfs-test-batch-job-avro.producer.hdfs.write.batch.size.records=10 20 | -------------------------------------------------------------------------------- /samza-hdfs/src/test/resources/samza-hdfs-test-batch-job-text.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | systems.samza-hdfs-test-batch-job-text.producer.hdfs.writer.class=org.apache.samza.system.hdfs.writer.TextSequenceFileHdfsWriter 19 | systems.samza-hdfs-test-batch-job-text.producer.hdfs.write.batch.size.bytes=512 20 | -------------------------------------------------------------------------------- /samza-hdfs/src/test/resources/samza-hdfs-test-batch-job.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | systems.samza-hdfs-test-batch-job.producer.hdfs.write.batch.size.bytes=512 19 | -------------------------------------------------------------------------------- /samza-hdfs/src/test/resources/samza-hdfs-test-job-avro.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | systems.samza-hdfs-test-job-avro.producer.hdfs.writer.class=org.apache.samza.system.hdfs.writer.AvroDataFileHdfsWriter -------------------------------------------------------------------------------- /samza-hdfs/src/test/resources/samza-hdfs-test-job-text.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | systems.samza-hdfs-test-job-text.producer.hdfs.writer.class=org.apache.samza.system.hdfs.writer.TextSequenceFileHdfsWriter 19 | -------------------------------------------------------------------------------- /samza-hdfs/src/test/resources/samza-hdfs-test-job.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | -------------------------------------------------------------------------------- /samza-kv/src/main/java/org/apache/samza/storage/kv/RecordTooLargeException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.samza.storage.kv; 20 | 21 | import org.apache.samza.SamzaException; 22 | 23 | 24 | public class RecordTooLargeException extends SamzaException { 25 | 26 | public RecordTooLargeException(String s) { 27 | super(s); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /samza-rest/src/main/bash/run-samza-rest-service.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | 19 | [[ $JAVA_OPTS != *-Dlog4j.configuration* ]] && export JAVA_OPTS="$JAVA_OPTS -Dlog4j.configuration=file:$(dirname $0)/log4j2.xml" 20 | [[ -z "$SAMZA_LOG_DIR" ]] && export SAMZA_LOG_DIR="$PWD/logs" 21 | 22 | exec $(dirname $0)/run-class.sh org.apache.samza.rest.SamzaRestService "$@" 23 | -------------------------------------------------------------------------------- /samza-rest/src/main/config/samza-rest.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | # Service port. Set to 0 for a dynamic port. 19 | services.rest.port=9139 20 | 21 | # JobsResource 22 | job.proxy.factory.class=org.apache.samza.rest.proxy.job.SimpleYarnJobProxyFactory 23 | job.installations.path=/export/content/samza/deploy/ 24 | 25 | # TasksResource 26 | task.proxy.factory.class=org.apache.samza.rest.proxy.task.SamzaTaskProxyFactory -------------------------------------------------------------------------------- /samza-rest/src/main/java/org/apache/samza/rest/resources/ResourceConstants.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.samza.rest.resources; 20 | 21 | public class ResourceConstants { 22 | 23 | public static final String GET_TASKS_URL = "http://%s/v1/jobs/%s/%s/tasks/"; 24 | 25 | public static final String GET_JOBS_URL = "http://%s/v1/jobs/%s/%s/"; 26 | } 27 | -------------------------------------------------------------------------------- /samza-rest/src/test/java/org/apache/samza/monitor/mock/DummyMonitor.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.samza.monitor.mock; 20 | 21 | import org.apache.samza.monitor.Monitor; 22 | 23 | public class DummyMonitor implements Monitor { 24 | 25 | @Override 26 | public void monitor() { 27 | // Do nothing! 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /samza-rest/src/test/java/org/apache/samza/monitor/mock/ExceptionThrowingMonitor.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.samza.monitor.mock; 20 | 21 | import org.apache.samza.monitor.Monitor; 22 | import java.io.IOException; 23 | 24 | 25 | public class ExceptionThrowingMonitor implements Monitor { 26 | 27 | @Override 28 | public void monitor() throws IOException { 29 | throw new IOException("I don't know what I was expecting."); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /samza-shell/src/main/resources/log4j2-console.xml: -------------------------------------------------------------------------------- 1 | 2 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /samza-sql-shell/src/main/java/org/apache/samza/sql/client/interfaces/ExecutionContext.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.sql.client.interfaces; 21 | 22 | /** 23 | * Whenever the shell calls the executor to execute a SQL statement, an object of ExecutionContext is passed. 24 | */ 25 | public class ExecutionContext { 26 | } 27 | -------------------------------------------------------------------------------- /samza-sql-shell/src/main/java/org/apache/samza/sql/client/interfaces/ExecutionStatus.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.sql.client.interfaces; 21 | 22 | /** 23 | * Status of the execution of a SQL statement. 24 | */ 25 | public enum ExecutionStatus { 26 | New, 27 | Running, 28 | SuccessfulFinish, 29 | UnsuccessfulFinish 30 | } 31 | -------------------------------------------------------------------------------- /samza-sql/src/test/java/org/apache/samza/sql/avro/schemas/ComplexUnion.avsc: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | { 21 | "name": "ComplexUnion", 22 | "version" : 1, 23 | "namespace": "org.apache.samza.sql.avro.schemas", 24 | "type": "record", 25 | "fields": [ 26 | { 27 | "name": "non_nullable_union_value", 28 | "doc": "union Value.", 29 | "type": ["int", "string"] 30 | } 31 | ] 32 | } 33 | -------------------------------------------------------------------------------- /samza-sql/src/test/java/org/apache/samza/sql/avro/schemas/Kind.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | /** 21 | * Autogenerated by Avro 22 | * 23 | * DO NOT EDIT DIRECTLY 24 | */ 25 | package org.apache.samza.sql.avro.schemas; 26 | 27 | @SuppressWarnings("all") 28 | public enum Kind { 29 | Home, Work, Cell 30 | } 31 | -------------------------------------------------------------------------------- /samza-sql/src/test/java/org/apache/samza/sql/avro/schemas/TestEnumType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | /** 21 | * Autogenerated by Avro 22 | * 23 | * DO NOT EDIT DIRECTLY 24 | */ 25 | package org.apache.samza.sql.avro.schemas; 26 | 27 | @SuppressWarnings("all") 28 | /** My sample enum type */ 29 | public enum TestEnumType { 30 | foo, bar 31 | } 32 | -------------------------------------------------------------------------------- /samza-test/src/main/config/perf/counter.samsa: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | 19 | # Job 20 | job.name=counter-task 21 | 22 | # Task 23 | task.class=samza.test.integration.StatePerfTestTask 24 | task.inputs=kafka.input 25 | 26 | # Stores 27 | stores.mystore.factory=samza.storage.kv.KeyValueStorageEngineFactory 28 | stores.mystore.key.serde=string 29 | stores.mystore.msg.serde=string 30 | stores.mystore.changelog=kafka.mystore 31 | -------------------------------------------------------------------------------- /samza-test/src/main/python/configs/downloads.json: -------------------------------------------------------------------------------- 1 | { 2 | "url_kafka": "http://archive.apache.org/dist/kafka/0.11.0.3/kafka_2.11-0.11.0.3.tgz", 3 | "url_zookeeper": "http://archive.apache.org/dist/zookeeper/zookeeper-3.4.6/zookeeper-3.4.6.tar.gz", 4 | "url_hadoop": "https://archive.apache.org/dist/hadoop/common/hadoop-2.6.1/hadoop-2.6.1.tar.gz" 5 | } 6 | -------------------------------------------------------------------------------- /samza-test/src/main/python/configs/kafka.json: -------------------------------------------------------------------------------- 1 | { 2 | "kafka_hosts": { 3 | "kafka_instance_0": "localhost" 4 | }, 5 | "kafka_port": 9092, 6 | "kafka_start_cmd": "kafka_2.11-0.11.0.3/bin/kafka-server-start.sh -daemon kafka_2.11-0.11.0.3/config/server.properties --override delete.topic.enable=true", 7 | "kafka_stop_cmd": "kafka_2.11-0.11.0.3/bin/kafka-server-stop.sh", 8 | "kafka_install_path": "deploy/kafka", 9 | "kafka_executable": "kafka_2.11-0.11.0.3.tgz", 10 | "kafka_post_install_cmds": [ 11 | "sed -i.bak 's/SIGINT/SIGTERM/g' kafka_2.11-0.11.0.3/bin/kafka-server-stop.sh", 12 | "sed -i.bak 's/^num\\.partitions *=.*/num.partitions=1/' kafka_2.11-0.11.0.3/config/server.properties", 13 | "sed -i.bak 's/.*log.dirs.*/log.dirs=data/g' kafka_2.11-0.11.0.3/config/server.properties" 14 | ], 15 | "kafka_logs": [ 16 | "log-cleaner.log", 17 | "kafka_2.11-0.11.0.3/logs/controller.log", 18 | "kafka_2.11-0.11.0.3/logs/kafka-request.log", 19 | "kafka_2.11-0.11.0.3/logs/kafkaServer-gc.log", 20 | "kafka_2.11-0.11.0.3/logs/server.log", 21 | "kafka_2.11-0.11.0.3/logs/state-change.log" 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /samza-test/src/main/python/configs/tests.json: -------------------------------------------------------------------------------- 1 | { 2 | "samza_executable": "samza-test_2.11-1.7.0-SNAPSHOT.tgz", 3 | "samza_install_path": "deploy/smoke_tests", 4 | "samza_config_loader_factory": "org.apache.samza.config.loaders.PropertiesConfigLoaderFactory" 5 | } 6 | -------------------------------------------------------------------------------- /samza-test/src/main/python/configs/zookeeper.json: -------------------------------------------------------------------------------- 1 | { 2 | "zookeeper_hosts": { 3 | "zookeeper_instance_0": "localhost" 4 | }, 5 | "zookeeper_start_cmd": "zookeeper-3.4.6/bin/zkServer.sh start", 6 | "zookeeper_stop_cmd": "zookeeper-3.4.6/bin/zkServer.sh stop", 7 | "zookeeper_install_path": "deploy/zookeeper", 8 | "zookeeper_executable": "zookeeper-3.4.6.tar.gz", 9 | "zookeeper_post_install_cmds": [ 10 | "cp zookeeper-3.4.6/conf/zoo_sample.cfg zookeeper-3.4.6/conf/zoo.cfg", 11 | "sed -i.bak 's/.*dataDir=.*/dataDir=data/g' zookeeper-3.4.6/conf/zoo.cfg" 12 | ], 13 | "zookeeper_logs": [ 14 | "zookeeper.out" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /samza-test/src/main/python/integration_tests.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # 'License'); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # 'AS IS' BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | import os 19 | 20 | dir = os.path.dirname(os.path.abspath(__file__)) 21 | 22 | test = { 23 | 'deployment_code': os.path.join(dir, 'deployment.py'), 24 | 'perf_code': os.path.join(dir, 'perf.py'), 25 | 'configs_directory': os.path.join(dir, 'configs'), 26 | 'test_code': [ 27 | os.path.join(dir, 'tests', 'smoke_tests.py'), 28 | os.path.join(dir, 'tests', 'performance_tests.py'), 29 | ], 30 | } 31 | -------------------------------------------------------------------------------- /samza-test/src/main/python/requirements.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | zopkio==0.2.5 19 | requests 20 | kafka-python==1.3.3 21 | Jinja2 22 | kazoo==2.8.0 23 | -------------------------------------------------------------------------------- /samza-test/src/main/python/standalone_integration_tests.py: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # 'License'); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # 'AS IS' BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | import os 19 | 20 | dir = os.path.dirname(os.path.abspath(__file__)) 21 | 22 | test = { 23 | 'deployment_code': os.path.join(dir, 'standalone_deployment.py'), 24 | 'perf_code': os.path.join(dir, 'perf.py'), 25 | 'configs_directory': os.path.join(dir, 'configs'), 26 | 'test_code': [ 27 | os.path.join(dir, 'tests', 'standalone_failure_tests.py'), 28 | ], 29 | } 30 | -------------------------------------------------------------------------------- /samza-test/src/main/python/templates/yarn-site.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | {% for property, value in properties.iteritems() %} 22 | 23 | {{ property }} 24 | {{ value }} 25 | 26 | {% endfor %} 27 | 28 | -------------------------------------------------------------------------------- /samza-test/src/main/resources/hello-stateful-world.samza: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | 19 | # Job 20 | job.factory.class=samza.job.local.ThreadJobFactory 21 | job.name=hello-stateful-world 22 | 23 | # Task 24 | task.class=samza.test.integration.SimpleStatefulTask 25 | task.inputs=kafka.input 26 | 27 | # Stores 28 | stores.mystore.factory=samza.storage.kv.KeyValueStorageEngineFactory 29 | stores.mystore.key.serde=string 30 | stores.mystore.msg.serde=string 31 | stores.mystore.changelog=kafka.mystore 32 | -------------------------------------------------------------------------------- /samza-test/src/test/java/org/apache/samza/processor/TestStreamProcessorUtil.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | package org.apache.samza.processor; 21 | 22 | import org.apache.samza.container.SamzaContainer; 23 | 24 | public class TestStreamProcessorUtil { 25 | public static SamzaContainer getContainer(StreamProcessor processor) { 26 | return processor.getContainer(); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /samza-tools/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Samza 2 | Copyright 2014 The Apache Software Foundation 3 | 4 | This product includes software developed at The Apache Software 5 | Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /samza-tools/config/eh-bench.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | systems.eventhub.samza.factory=org.apache.samza.system.eventhub.EventHubSystemFactory 19 | systems.eventhub.stream.list=eh 20 | streams.eh.eventhubs.namespace= 21 | streams.eh.eventhubs.entitypath= 22 | sensitive.streams.eh.eventhubs.sas.keyname= 23 | sensitive.streams.eh.eventhubs.sas.token= 24 | streams.eh.eventhubs.consumer.group= 25 | streams.eh.samza.physical.name= 26 | streams.eh.samza.system=eventhub -------------------------------------------------------------------------------- /samza-yarn/src/main/less/variables.less: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one 2 | // or more contributor license agreements. See the NOTICE file 3 | // distributed with this work for additional information 4 | // regarding copyright ownership. The ASF licenses this file 5 | // to you under the Apache License, Version 2.0 (the 6 | // "License"); you may not use this file except in compliance 7 | // with the License. You may obtain a copy of the License at 8 | // 9 | // http://www.apache.org/licenses/LICENSE-2.0 10 | // 11 | // Unless required by applicable law or agreed to in writing, 12 | // software distributed under the License is distributed on an 13 | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | // KIND, either express or implied. See the License for the 15 | // specific language governing permissions and limitations 16 | // under the License. 17 | 18 | @masthead-background-color: #F5F4F0; 19 | @masthead-logo-color: #ff0000; 20 | @masthead-icon-color: #d3d2d0; 21 | -------------------------------------------------------------------------------- /samza-yarn/src/main/resources/scalate/css/ropa-sans.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Ropa Sans'; 3 | font-style: normal; 4 | font-weight: 400; 5 | src: local('Ropa Sans'), local('RopaSans-Regular'), url('../fonts/RopaSans-Regular-webfont.woff') format('woff'); 6 | } 7 | -------------------------------------------------------------------------------- /samza-yarn/src/main/resources/scalate/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn/src/main/resources/scalate/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /samza-yarn/src/main/resources/scalate/fonts/RopaSans-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn/src/main/resources/scalate/fonts/RopaSans-Regular-webfont.woff -------------------------------------------------------------------------------- /samza-yarn/src/main/resources/scalate/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn/src/main/resources/scalate/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /samza-yarn/src/main/resources/scalate/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn/src/main/resources/scalate/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /samza-yarn/src/main/resources/scalate/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn/src/main/resources/scalate/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /samza-yarn/src/main/resources/scalate/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn/src/main/resources/scalate/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /samza-yarn/src/main/resources/scalate/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn/src/main/resources/scalate/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /samza-yarn/src/main/resources/scalate/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn/src/main/resources/scalate/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /samza-yarn/src/main/resources/scalate/img/asc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn/src/main/resources/scalate/img/asc.gif -------------------------------------------------------------------------------- /samza-yarn/src/main/resources/scalate/img/bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn/src/main/resources/scalate/img/bg.gif -------------------------------------------------------------------------------- /samza-yarn/src/main/resources/scalate/img/desc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn/src/main/resources/scalate/img/desc.gif -------------------------------------------------------------------------------- /samza-yarn/src/main/resources/scalate/img/samza-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn/src/main/resources/scalate/img/samza-icon.png -------------------------------------------------------------------------------- /samza-yarn3/src/main/less/variables.less: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one 2 | // or more contributor license agreements. See the NOTICE file 3 | // distributed with this work for additional information 4 | // regarding copyright ownership. The ASF licenses this file 5 | // to you under the Apache License, Version 2.0 (the 6 | // "License"); you may not use this file except in compliance 7 | // with the License. You may obtain a copy of the License at 8 | // 9 | // http://www.apache.org/licenses/LICENSE-2.0 10 | // 11 | // Unless required by applicable law or agreed to in writing, 12 | // software distributed under the License is distributed on an 13 | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | // KIND, either express or implied. See the License for the 15 | // specific language governing permissions and limitations 16 | // under the License. 17 | 18 | @masthead-background-color: #F5F4F0; 19 | @masthead-logo-color: #ff0000; 20 | @masthead-icon-color: #d3d2d0; 21 | -------------------------------------------------------------------------------- /samza-yarn3/src/main/resources/scalate/css/ropa-sans.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Ropa Sans'; 3 | font-style: normal; 4 | font-weight: 400; 5 | src: local('Ropa Sans'), local('RopaSans-Regular'), url('../fonts/RopaSans-Regular-webfont.woff') format('woff'); 6 | } 7 | -------------------------------------------------------------------------------- /samza-yarn3/src/main/resources/scalate/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn3/src/main/resources/scalate/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /samza-yarn3/src/main/resources/scalate/fonts/RopaSans-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn3/src/main/resources/scalate/fonts/RopaSans-Regular-webfont.woff -------------------------------------------------------------------------------- /samza-yarn3/src/main/resources/scalate/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn3/src/main/resources/scalate/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /samza-yarn3/src/main/resources/scalate/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn3/src/main/resources/scalate/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /samza-yarn3/src/main/resources/scalate/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn3/src/main/resources/scalate/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /samza-yarn3/src/main/resources/scalate/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn3/src/main/resources/scalate/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /samza-yarn3/src/main/resources/scalate/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn3/src/main/resources/scalate/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /samza-yarn3/src/main/resources/scalate/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn3/src/main/resources/scalate/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /samza-yarn3/src/main/resources/scalate/img/asc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn3/src/main/resources/scalate/img/asc.gif -------------------------------------------------------------------------------- /samza-yarn3/src/main/resources/scalate/img/bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn3/src/main/resources/scalate/img/bg.gif -------------------------------------------------------------------------------- /samza-yarn3/src/main/resources/scalate/img/desc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn3/src/main/resources/scalate/img/desc.gif -------------------------------------------------------------------------------- /samza-yarn3/src/main/resources/scalate/img/samza-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/samza/82c53aaad53c69f99ef5130658d9f93093a1e477/samza-yarn3/src/main/resources/scalate/img/samza-icon.png --------------------------------------------------------------------------------