initial import.
authorChris Riccomini <criccomi@criccomi-mn.linkedin.biz>
Mon, 12 Aug 2013 16:19:28 +0000 (09:19 -0700)
committerChris Riccomini <criccomi@criccomi-mn.linkedin.biz>
Mon, 12 Aug 2013 16:19:28 +0000 (09:19 -0700)
304 files changed:
.gitignore [new file with mode: 0644]
DISCLAIMER [new file with mode: 0644]
HEADER [new file with mode: 0644]
LICENSE [new file with mode: 0644]
README.md [new file with mode: 0644]
RELEASE.md [new file with mode: 0644]
build.gradle [new file with mode: 0644]
docs/README.md [new file with mode: 0644]
docs/_config.yml [new file with mode: 0644]
docs/_layouts/default.html [new file with mode: 0644]
docs/_layouts/page.html [new file with mode: 0644]
docs/_notes/TODO.md [new file with mode: 0644]
docs/_tools/generate-javadocs.sh [new file with mode: 0755]
docs/_tools/publish-site.sh [new file with mode: 0755]
docs/community/committers.md [new file with mode: 0644]
docs/community/irc.md [new file with mode: 0644]
docs/community/mailing-lists.md [new file with mode: 0644]
docs/contribute/code.md [new file with mode: 0644]
docs/contribute/coding-guide.md [new file with mode: 0644]
docs/contribute/disclaimer.md [new file with mode: 0644]
docs/contribute/projects.md [new file with mode: 0644]
docs/contribute/rules.md [new file with mode: 0644]
docs/contribute/seps.md [new file with mode: 0644]
docs/css/main.css [new file with mode: 0755]
docs/img/0.7.0/learn/documentation/comparisons/mupd8-samza.png [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/comparisons/mupd8.png [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/container/checkpointing-2.png [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/container/checkpointing.png [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/container/job-flow.png [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/container/metrics.png [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/container/tasks-and-partitions.png [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/introduction/dag.graffle [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/introduction/dag.png [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/introduction/group-by-example.png [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/introduction/job.graffle [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/introduction/job.png [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/introduction/job_detail.graffle [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/introduction/job_detail.png [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/introduction/samza-ecosystem.png [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/introduction/samza-hadoop.png [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/introduction/samza-yarn-integration.png [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/introduction/samza-yarn-kafka-integration.png [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/introduction/samza_state.graffle [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/introduction/samza_state.png [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/introduction/stream.graffle [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/introduction/stream.png [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/motivation/data-processing-spectrum-1.png [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/motivation/data-processing-spectrum-2.png [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/motivation/data-processing-spectrum-3.png [new file with mode: 0644]
docs/img/0.7.0/learn/documentation/yarn/samza-am-dashboard.png [new file with mode: 0644]
docs/img/apache-egg-logo.png [new file with mode: 0644]
docs/img/samza-icon.png [new file with mode: 0644]
docs/index.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/api/overview.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/comparisons/introduction.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/comparisons/mupd8.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/comparisons/storm.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/container/checkpointing.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/container/event-loop.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/container/index.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/container/jmx.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/container/metrics.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/container/state-management.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/container/streams.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/container/task-runner.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/container/windowing.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/index.html [new file with mode: 0644]
docs/learn/documentation/0.7.0/introduction/architecture.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/introduction/background.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/introduction/concepts.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/jobs/configuration-table.html [new file with mode: 0644]
docs/learn/documentation/0.7.0/jobs/configuration.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/jobs/job-runner.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/jobs/logging.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/jobs/packaging.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/jobs/yarn-jobs.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/operations/kafka.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/operations/security.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/yarn/application-master.md [new file with mode: 0644]
docs/learn/documentation/0.7.0/yarn/isolation.md [new file with mode: 0644]
docs/learn/tutorials/0.7.0/committing.md [new file with mode: 0644]
docs/learn/tutorials/0.7.0/configuring-kafka-system.md [new file with mode: 0644]
docs/learn/tutorials/0.7.0/group-by-count.md [new file with mode: 0644]
docs/learn/tutorials/0.7.0/index.md [new file with mode: 0644]
docs/learn/tutorials/0.7.0/initialize-close.md [new file with mode: 0644]
docs/learn/tutorials/0.7.0/joining-streams.md [new file with mode: 0644]
docs/learn/tutorials/0.7.0/sort-stream.md [new file with mode: 0644]
docs/learn/tutorials/0.7.0/windowing.md [new file with mode: 0644]
docs/startup/download/index.md [new file with mode: 0644]
docs/startup/hello-samza/0.7.0/index.md [new file with mode: 0644]
gradle.properties [new file with mode: 0644]
gradle/buildscript.gradle [new file with mode: 0644]
gradle/dependency-versions-scala-2.8.1.gradle [new file with mode: 0644]
gradle/dependency-versions-scala-2.9.2.gradle [new file with mode: 0644]
gradle/dependency-versions.gradle [new file with mode: 0644]
gradle/license.gradle [new file with mode: 0644]
gradle/maven.gradle [new file with mode: 0644]
gradle/wrapper/gradle-wrapper.jar [new file with mode: 0644]
gradle/wrapper/gradle-wrapper.properties [new file with mode: 0644]
gradlew [new file with mode: 0755]
samza-api/src/main/java/org/apache/samza/Partition.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/SamzaException.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/checkpoint/Checkpoint.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/checkpoint/CheckpointManager.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/checkpoint/CheckpointManagerFactory.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/config/Config.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/config/ConfigException.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/config/ConfigFactory.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/config/ConfigRewriter.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/config/MapConfig.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/job/ApplicationStatus.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/job/CommandBuilder.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/job/StreamJob.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/job/StreamJobFactory.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/metrics/Counter.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/metrics/DataType.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/metrics/Gauge.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/metrics/Metric.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/metrics/MetricsRegistry.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/metrics/MetricsReporter.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/metrics/MetricsReporterFactory.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/metrics/MetricsType.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/metrics/MetricsVisitor.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/metrics/ReadableMetricsRegistry.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/metrics/ReadableMetricsRegistryListener.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/serializers/Deserializer.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/serializers/Serde.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/serializers/SerdeFactory.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/serializers/Serializer.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/storage/StorageEngine.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/storage/StorageEngineFactory.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/system/IncomingMessageEnvelope.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/system/IncomingMessageEnvelopePicker.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/system/OutgoingMessageEnvelope.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/system/SystemAdmin.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/system/SystemConsumer.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/system/SystemFactory.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/system/SystemProducer.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/system/SystemStream.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/system/SystemStreamPartition.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/system/SystemStreamPartitionIterator.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/task/ClosableTask.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/task/InitableTask.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/task/MessageCollector.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/task/StreamTask.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/task/TaskContext.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/task/TaskCoordinator.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/task/TaskLifecycleListener.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/task/TaskLifecycleListenerFactory.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/task/WindowableTask.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/util/BlockingEnvelopeMap.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/util/Clock.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/util/NoOpMetricsRegistry.java [new file with mode: 0644]
samza-api/src/main/java/org/apache/samza/util/SinglePartitionSystemAdmin.java [new file with mode: 0644]
samza-api/src/test/java/org/apache/samza/system/TestSystemStreamPartitionIterator.java [new file with mode: 0644]
samza-api/src/test/java/org/apache/samza/util/TestBlockingEnvelopeMap.java [new file with mode: 0644]
samza-api/src/test/java/org/apache/samza/util/TestNoOpMetricsRegistry.java [new file with mode: 0644]
samza-api/src/test/java/org/apache/samza/util/TestSinglePartitionSystemAdmin.java [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/checkpoint/file/FileSystemCheckpointManager.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/config/FileSystemCheckpointManagerConfig.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/config/JobConfig.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/config/MetricsConfig.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/config/ScalaMapConfig.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/config/SerializerConfig.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/config/ShellCommandConfig.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/config/StorageConfig.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/config/StreamConfig.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/config/SystemConfig.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/config/TaskConfig.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/config/factories/PropertiesConfigFactory.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/config/serializers/JsonConfigSerializer.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/container/SamzaContainer.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/container/SamzaContainerMetrics.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/container/TaskInstance.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/container/TaskInstanceMetrics.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/job/JobRunner.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/job/ShellCommandBuilder.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/job/local/LocalJobFactory.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/job/local/ProcessJob.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/job/local/ThreadJob.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/metrics/JmxServer.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/metrics/JvmMetrics.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/metrics/MetricsRegistryMap.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/metrics/reporter/JmxReporter.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/metrics/reporter/Metrics.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/metrics/reporter/MetricsHeader.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/metrics/reporter/MetricsSnapshot.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/metrics/reporter/MetricsSnapshotReporter.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/metrics/reporter/MetricsSnapshotReporterFactory.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/serializers/CheckpointSerde.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/serializers/SerdeManager.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/serializers/StringSerde.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/storage/TaskStorageManager.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/system/DefaultPicker.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/system/SystemConsumers.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/system/SystemProducers.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/task/ReadableCollector.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/task/ReadableCoordinator.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/util/DaemonThreadFactory.scala [new file with mode: 0644]
samza-core/src/main/scala/org/apache/samza/util/Util.scala [new file with mode: 0644]
samza-core/src/test/resources/test.properties [new file with mode: 0644]
samza-core/src/test/scala/org/apache/samza/checkpoint/file/TestFileSystemCheckpointManager.scala [new file with mode: 0644]
samza-core/src/test/scala/org/apache/samza/config/factories/TestPropertiesConfigFactory.scala [new file with mode: 0644]
samza-core/src/test/scala/org/apache/samza/job/TestJobRunner.scala [new file with mode: 0644]
samza-core/src/test/scala/org/apache/samza/job/local/TestProcessJob.scala [new file with mode: 0644]
samza-core/src/test/scala/org/apache/samza/job/local/TestThreadJob.scala [new file with mode: 0644]
samza-core/src/test/scala/org/apache/samza/metrics/TestJmxServer.scala [new file with mode: 0644]
samza-core/src/test/scala/org/apache/samza/metrics/reporter/TestJmxReporter.scala [new file with mode: 0644]
samza-core/src/test/scala/org/apache/samza/task/TestReadableCoordinator.scala [new file with mode: 0644]
samza-kafka/lib/kafka_2.8.1-0.8.1-SNAPSHOT-test.jar [new file with mode: 0644]
samza-kafka/lib/kafka_2.8.1-0.8.1-SNAPSHOT.jar [new file with mode: 0644]
samza-kafka/lib/kafka_2.9.2-0.8.1-SNAPSHOT-test.jar [new file with mode: 0644]
samza-kafka/lib/kafka_2.9.2-0.8.1-SNAPSHOT.jar [new file with mode: 0644]
samza-kafka/src/main/scala/org/apache/samza/checkpoint/kafka/KafkaCheckpointManager.scala [new file with mode: 0644]
samza-kafka/src/main/scala/org/apache/samza/checkpoint/kafka/KafkaCheckpointManagerFactory.scala [new file with mode: 0644]
samza-kafka/src/main/scala/org/apache/samza/config/KafkaConfig.scala [new file with mode: 0644]
samza-kafka/src/main/scala/org/apache/samza/config/KafkaSerdeConfig.scala [new file with mode: 0644]
samza-kafka/src/main/scala/org/apache/samza/config/RegExTopicGenerator.scala [new file with mode: 0644]
samza-kafka/src/main/scala/org/apache/samza/serializers/KafkaSerde.scala [new file with mode: 0644]
samza-kafka/src/main/scala/org/apache/samza/system/kafka/BrokerProxy.scala [new file with mode: 0644]
samza-kafka/src/main/scala/org/apache/samza/system/kafka/BrokerProxyMetrics.scala [new file with mode: 0644]
samza-kafka/src/main/scala/org/apache/samza/system/kafka/DefaultFetch.scala [new file with mode: 0644]
samza-kafka/src/main/scala/org/apache/samza/system/kafka/GetOffset.scala [new file with mode: 0644]
samza-kafka/src/main/scala/org/apache/samza/system/kafka/KafkaSystemAdmin.scala [new file with mode: 0644]
samza-kafka/src/main/scala/org/apache/samza/system/kafka/KafkaSystemConsumer.scala [new file with mode: 0644]
samza-kafka/src/main/scala/org/apache/samza/system/kafka/KafkaSystemFactory.scala [new file with mode: 0644]
samza-kafka/src/main/scala/org/apache/samza/system/kafka/KafkaSystemProducer.scala [new file with mode: 0644]
samza-kafka/src/main/scala/org/apache/samza/system/kafka/MessageSink.scala [new file with mode: 0644]
samza-kafka/src/main/scala/org/apache/samza/system/kafka/TopicAndPartitionMetrics.scala [new file with mode: 0644]
samza-kafka/src/main/scala/org/apache/samza/system/kafka/TopicMetadataCache.scala [new file with mode: 0644]
samza-kafka/src/main/scala/org/apache/samza/system/kafka/Toss.scala [new file with mode: 0644]
samza-kafka/src/main/scala/org/apache/samza/util/ClientUtilTopicMetadataStore.scala [new file with mode: 0644]
samza-kafka/src/main/scala/org/apache/samza/util/KafkaUtil.scala [new file with mode: 0644]
samza-kafka/src/test/scala/org/apache/samza/checkpoint/TestKafkaCheckpointManager.scala [new file with mode: 0644]
samza-kafka/src/test/scala/org/apache/samza/config/TestKafkaSerdeConfig.scala [new file with mode: 0644]
samza-kafka/src/test/scala/org/apache/samza/config/TestRegExTopicGenerator.scala [new file with mode: 0644]
samza-kafka/src/test/scala/org/apache/samza/serializers/TestKafkaSerde.scala [new file with mode: 0644]
samza-kafka/src/test/scala/org/apache/samza/system/kafka/TestBrokerProxy.scala [new file with mode: 0644]
samza-kafka/src/test/scala/org/apache/samza/system/kafka/TestKafkaSystemFactory.scala [new file with mode: 0644]
samza-kafka/src/test/scala/org/apache/samza/system/kafka/TestKafkaSystemProducer.scala [new file with mode: 0644]
samza-kafka/src/test/scala/org/apache/samza/system/kafka/TestTopicMetadataCache.scala [new file with mode: 0644]
samza-kv/src/main/java/org/apache/samza/storage/kv/Entry.java [new file with mode: 0644]
samza-kv/src/main/java/org/apache/samza/storage/kv/KeyValueIterator.java [new file with mode: 0644]
samza-kv/src/main/java/org/apache/samza/storage/kv/KeyValueStore.java [new file with mode: 0644]
samza-kv/src/main/scala/org/apache/samza/storage/kv/CachedStore.scala [new file with mode: 0644]
samza-kv/src/main/scala/org/apache/samza/storage/kv/KeyValueStorageEngine.scala [new file with mode: 0644]
samza-kv/src/main/scala/org/apache/samza/storage/kv/KeyValueStorageEngineFactory.scala [new file with mode: 0644]
samza-kv/src/main/scala/org/apache/samza/storage/kv/LevelDbKeyValueStore.scala [new file with mode: 0644]
samza-kv/src/main/scala/org/apache/samza/storage/kv/LoggedStore.scala [new file with mode: 0644]
samza-kv/src/main/scala/org/apache/samza/storage/kv/SerializedKeyValueStore.scala [new file with mode: 0644]
samza-kv/src/test/scala/org/apache/samza/storage/kv/TestKeyValueStores.scala [new file with mode: 0644]
samza-serializers/src/main/scala/org/apache/samza/serializers/JsonSerde.scala [new file with mode: 0644]
samza-serializers/src/main/scala/org/apache/samza/serializers/MetricsSnapshotSerde.scala [new file with mode: 0644]
samza-serializers/src/test/scala/org/apache/samza/serializers/TestJsonSerde.scala [new file with mode: 0644]
samza-serializers/src/test/scala/org/apache/samza/serializers/TestMetricsSnapshotSerde.scala [new file with mode: 0644]
samza-shell/src/main/assembly/src.xml [new file with mode: 0644]
samza-shell/src/main/bash/kill-yarn-job.sh [new file with mode: 0755]
samza-shell/src/main/bash/run-am.sh [new file with mode: 0755]
samza-shell/src/main/bash/run-class.sh [new file with mode: 0755]
samza-shell/src/main/bash/run-job.sh [new file with mode: 0755]
samza-shell/src/main/bash/run-task.sh [new file with mode: 0755]
samza-test/java.hprof.txt [new file with mode: 0644]
samza-test/src/main/java/org/apache/samza/test/integration/SimpleStatefulTask.java [new file with mode: 0644]
samza-test/src/main/java/org/apache/samza/test/integration/StatePerfTestTask.java [new file with mode: 0644]
samza-test/src/main/java/org/apache/samza/test/integration/join/Checker.java [new file with mode: 0644]
samza-test/src/main/java/org/apache/samza/test/integration/join/Emitter.java [new file with mode: 0644]
samza-test/src/main/java/org/apache/samza/test/integration/join/EpochPartitioner.java [new file with mode: 0644]
samza-test/src/main/java/org/apache/samza/test/integration/join/Joiner.java [new file with mode: 0644]
samza-test/src/main/java/org/apache/samza/test/integration/join/Watcher.java [new file with mode: 0644]
samza-test/src/main/resources/common.properties [new file with mode: 0644]
samza-test/src/main/resources/hello-stateful-world.samsa [new file with mode: 0644]
samza-test/src/main/resources/join/checker.samsa [new file with mode: 0644]
samza-test/src/main/resources/join/emitter.samsa [new file with mode: 0644]
samza-test/src/main/resources/join/joiner.samsa [new file with mode: 0644]
samza-test/src/main/resources/join/watcher.samsa [new file with mode: 0644]
samza-test/src/main/resources/log4j.xml [new file with mode: 0644]
samza-test/src/main/resources/perf/counter.samsa [new file with mode: 0644]
samza-test/src/test/scala/org/apache/samza/test/integration/TestStatefulTask.scala [new file with mode: 0644]
samza-yarn/src/main/resources/scalate/WEB-INF/layouts/default.scaml [new file with mode: 0644]
samza-yarn/src/main/resources/scalate/WEB-INF/views/index.scaml [new file with mode: 0644]
samza-yarn/src/main/resources/scalate/css/bootstrap.min.css [new file with mode: 0644]
samza-yarn/src/main/resources/scalate/js/bootstrap.min.js [new file with mode: 0644]
samza-yarn/src/main/scala/org/apache/samza/config/YarnConfig.scala [new file with mode: 0644]
samza-yarn/src/main/scala/org/apache/samza/job/yarn/ClientHelper.scala [new file with mode: 0644]
samza-yarn/src/main/scala/org/apache/samza/job/yarn/SamzaAppMaster.scala [new file with mode: 0644]
samza-yarn/src/main/scala/org/apache/samza/job/yarn/SamzaAppMasterLifecycle.scala [new file with mode: 0644]
samza-yarn/src/main/scala/org/apache/samza/job/yarn/SamzaAppMasterMetrics.scala [new file with mode: 0644]
samza-yarn/src/main/scala/org/apache/samza/job/yarn/SamzaAppMasterService.scala [new file with mode: 0644]
samza-yarn/src/main/scala/org/apache/samza/job/yarn/SamzaAppMasterState.scala [new file with mode: 0644]
samza-yarn/src/main/scala/org/apache/samza/job/yarn/SamzaAppMasterTaskManager.scala [new file with mode: 0644]
samza-yarn/src/main/scala/org/apache/samza/job/yarn/YarnAppMaster.scala [new file with mode: 0644]
samza-yarn/src/main/scala/org/apache/samza/job/yarn/YarnAppMasterListener.scala [new file with mode: 0644]
samza-yarn/src/main/scala/org/apache/samza/job/yarn/YarnJob.scala [new file with mode: 0644]
samza-yarn/src/main/scala/org/apache/samza/job/yarn/YarnJobFactory.scala [new file with mode: 0644]
samza-yarn/src/main/scala/org/apache/samza/util/hadoop/HttpFileSystem.scala [new file with mode: 0644]
samza-yarn/src/main/scala/org/apache/samza/util/hadoop/HttpInputStream.scala [new file with mode: 0644]
samza-yarn/src/main/scala/org/apache/samza/webapp/ApplicationMasterRestServlet.scala [new file with mode: 0644]
samza-yarn/src/main/scala/org/apache/samza/webapp/ApplicationMasterWebServlet.scala [new file with mode: 0644]
samza-yarn/src/main/scala/org/apache/samza/webapp/WebAppServer.scala [new file with mode: 0644]
samza-yarn/src/test/scala/org/apache/samza/job/yarn/TestSamzaAppMasterLifecycle.scala [new file with mode: 0644]
samza-yarn/src/test/scala/org/apache/samza/job/yarn/TestSamzaAppMasterService.scala [new file with mode: 0644]
samza-yarn/src/test/scala/org/apache/samza/job/yarn/TestSamzaAppMasterTaskManager.scala [new file with mode: 0644]
samza-yarn/src/test/scala/org/apache/samza/job/yarn/TestYarnAppMaster.scala [new file with mode: 0644]
settings.gradle [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..ac261dc
--- /dev/null
@@ -0,0 +1,24 @@
+project/boot/
+target/
+.classpath
+.project
+.scala_dependencies
+.settings/
+dist/
+record_timestamps.log*
+deployable.tgz
+.idea/
+.idea_modules/
+*.iml
+*.ipr
+*.iws
+*/.cache
+dashboard-deployable.tgz
+deployable.tar
+dist-dashboard
+docs/_site
+.gradle
+build
+**/bin
+samza-test/state
+docs/learn/documentation/0.7.0/api/javadocs
diff --git a/DISCLAIMER b/DISCLAIMER
new file mode 100644 (file)
index 0000000..1ec4f5c
--- /dev/null
@@ -0,0 +1 @@
+Apache Samza is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
diff --git a/HEADER b/HEADER
new file mode 100644 (file)
index 0000000..60b675e
--- /dev/null
+++ b/HEADER
@@ -0,0 +1,16 @@
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
diff --git a/LICENSE b/LICENSE
new file mode 100644 (file)
index 0000000..fd83093
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,580 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+-----------------------------------------------------------------------
+
+SLF4J LICENSE
+
+Copyright (c) 2004-2013 QOS.ch
+All rights reserved.
+
+Permission is hereby granted, free  of charge, to any person obtaining
+a  copy  of this  software  and  associated  documentation files  (the
+"Software"), to  deal in  the Software without  restriction, including
+without limitation  the rights to  use, copy, modify,  merge, publish,
+distribute,  sublicense, and/or sell  copies of  the Software,  and to
+permit persons to whom the Software  is furnished to do so, subject to
+the following conditions:
+
+The  above  copyright  notice  and  this permission  notice  shall  be
+included in all copies or substantial portions of the Software.
+
+THE  SOFTWARE IS  PROVIDED  "AS  IS", WITHOUT  WARRANTY  OF ANY  KIND,
+EXPRESS OR  IMPLIED, INCLUDING  BUT NOT LIMITED  TO THE  WARRANTIES OF
+MERCHANTABILITY,    FITNESS    FOR    A   PARTICULAR    PURPOSE    AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE,  ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+-----------------------------------------------------------------------
+
+JUNIT LICENSE
+
+JUnit
+
+Common Public License - v 1.0
+
+THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC
+LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
+CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
+
+1. DEFINITIONS
+
+"Contribution" means:
+
+      a) in the case of the initial Contributor, the initial code and
+         documentation distributed under this Agreement, and
+      b) in the case of each subsequent Contributor:
+
+      i) changes to the Program, and
+
+      ii) additions to the Program;
+
+      where such changes and/or additions to the Program originate from and are
+distributed by that particular Contributor. A Contribution 'originates' from a
+Contributor if it was added to the Program by such Contributor itself or anyone
+acting on such Contributor's behalf. Contributions do not include additions to
+the Program which: (i) are separate modules of software distributed in
+conjunction with the Program under their own license agreement, and (ii) are
+not derivative works of the Program. 
+
+"Contributor" means any person or entity that distributes the Program.
+
+"Licensed Patents " mean patent claims licensable by a Contributor which are
+necessarily infringed by the use or sale of its Contribution alone or when
+combined with the Program.
+
+"Program" means the Contributions distributed in accordance with this Agreement.
+
+"Recipient" means anyone who receives the Program under this Agreement,
+including all Contributors.
+
+2. GRANT OF RIGHTS
+
+      a) Subject to the terms of this Agreement, each Contributor hereby grants
+Recipient a non-exclusive, worldwide, royalty-free copyright license to
+reproduce, prepare derivative works of, publicly display, publicly perform,
+distribute and sublicense the Contribution of such Contributor, if any, and
+such derivative works, in source code and object code form.
+
+      b) Subject to the terms of this Agreement, each Contributor hereby grants
+Recipient a non-exclusive, worldwide, royalty-free patent license under
+Licensed Patents to make, use, sell, offer to sell, import and otherwise
+transfer the Contribution of such Contributor, if any, in source code and
+object code form. This patent license shall apply to the combination of the
+Contribution and the Program if, at the time the Contribution is added by the
+Contributor, such addition of the Contribution causes such combination to be
+covered by the Licensed Patents. The patent license shall not apply to any
+other combinations which include the Contribution. No hardware per se is
+licensed hereunder. 
+
+      c) Recipient understands that although each Contributor grants the
+licenses to its Contributions set forth herein, no assurances are provided by
+any Contributor that the Program does not infringe the patent or other
+intellectual property rights of any other entity. Each Contributor disclaims
+any liability to Recipient for claims brought by any other entity based on
+infringement of intellectual property rights or otherwise. As a condition to
+exercising the rights and licenses granted hereunder, each Recipient hereby
+assumes sole responsibility to secure any other intellectual property rights
+needed, if any. For example, if a third party patent license is required to
+allow Recipient to distribute the Program, it is Recipient's responsibility to
+acquire that license before distributing the Program.
+
+      d) Each Contributor represents that to its knowledge it has sufficient
+copyright rights in its Contribution, if any, to grant the copyright license
+set forth in this Agreement. 
+
+3. REQUIREMENTS
+
+A Contributor may choose to distribute the Program in object code form under
+its own license agreement, provided that:
+
+      a) it complies with the terms and conditions of this Agreement; and
+
+      b) its license agreement:
+
+      i) effectively disclaims on behalf of all Contributors all warranties and
+conditions, express and implied, including warranties or conditions of title
+and non-infringement, and implied warranties or conditions of merchantability
+and fitness for a particular purpose; 
+
+      ii) effectively excludes on behalf of all Contributors all liability for
+damages, including direct, indirect, special, incidental and consequential
+damages, such as lost profits; 
+
+      iii) states that any provisions which differ from this Agreement are
+offered by that Contributor alone and not by any other party; and
+
+      iv) states that source code for the Program is available from such
+Contributor, and informs licensees how to obtain it in a reasonable manner on
+or through a medium customarily used for software exchange. 
+
+When the Program is made available in source code form:
+
+      a) it must be made available under this Agreement; and 
+
+      b) a copy of this Agreement must be included with each copy of the
+Program. 
+
+Contributors may not remove or alter any copyright notices contained within the
+Program.
+
+Each Contributor must identify itself as the originator of its Contribution, if
+any, in a manner that reasonably allows subsequent Recipients to identify the
+originator of the Contribution.
+
+4. COMMERCIAL DISTRIBUTION
+
+Commercial distributors of software may accept certain responsibilities with
+respect to end users, business partners and the like. While this license is
+intended to facilitate the commercial use of the Program, the Contributor who
+includes the Program in a commercial product offering should do so in a manner
+which does not create potential liability for other Contributors. Therefore, if
+a Contributor includes the Program in a commercial product offering, such
+Contributor ("Commercial Contributor") hereby agrees to defend and indemnify
+every other Contributor ("Indemnified Contributor") against any losses, damages
+and costs (collectively "Losses") arising from claims, lawsuits and other legal
+actions brought by a third party against the Indemnified Contributor to the
+extent caused by the acts or omissions of such Commercial Contributor in
+connection with its distribution of the Program in a commercial product
+offering. The obligations in this section do not apply to any claims or Losses
+relating to any actual or alleged intellectual property infringement. In order
+to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
+Contributor in writing of such claim, and b) allow the Commercial Contributor
+to control, and cooperate with the Commercial Contributor in, the defense and
+any related settlement negotiations. The Indemnified Contributor may
+participate in any such claim at its own expense.
+
+For example, a Contributor might include the Program in a commercial product
+offering, Product X. That Contributor is then a Commercial Contributor. If that
+Commercial Contributor then makes performance claims, or offers warranties
+related to Product X, those performance claims and warranties are such
+Commercial Contributor's responsibility alone. Under this section, the
+Commercial Contributor would have to defend claims against the other
+Contributors related to those performance claims and warranties, and if a court
+requires any other Contributor to pay any damages as a result, the Commercial
+Contributor must pay those damages.
+
+5. NO WARRANTY
+
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
+IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
+NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each
+Recipient is solely responsible for determining the appropriateness of using
+and distributing the Program and assumes all risks associated with its exercise
+of rights under this Agreement, including but not limited to the risks and
+costs of program errors, compliance with applicable laws, damage to or loss of
+data, programs or equipment, and unavailability or interruption of operations.
+
+6. DISCLAIMER OF LIABILITY
+
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
+CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
+PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
+WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
+GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+7. GENERAL
+
+If any provision of this Agreement is invalid or unenforceable under applicable
+law, it shall not affect the validity or enforceability of the remainder of the
+terms of this Agreement, and without further action by the parties hereto, such
+provision shall be reformed to the minimum extent necessary to make such
+provision valid and enforceable.
+
+If Recipient institutes patent litigation against a Contributor with respect to
+a patent applicable to software (including a cross-claim or counterclaim in a
+lawsuit), then any patent licenses granted by that Contributor to such
+Recipient under this Agreement shall terminate as of the date such litigation
+is filed. In addition, if Recipient institutes patent litigation against any
+entity (including a cross-claim or counterclaim in a lawsuit) alleging that the
+Program itself (excluding combinations of the Program with other software or
+hardware) infringes such Recipient's patent(s), then such Recipient's rights
+granted under Section 2(b) shall terminate as of the date such litigation is
+filed.
+
+All Recipient's rights under this Agreement shall terminate if it fails to
+comply with any of the material terms or conditions of this Agreement and does
+not cure such failure in a reasonable period of time after becoming aware of
+such noncompliance. If all Recipient's rights under this Agreement terminate,
+Recipient agrees to cease use and distribution of the Program as soon as
+reasonably practicable. However, Recipient's obligations under this Agreement
+and any licenses granted by Recipient relating to the Program shall continue
+and survive.
+
+Everyone is permitted to copy and distribute copies of this Agreement, but in
+order to avoid inconsistency the Agreement is copyrighted and may only be
+modified in the following manner. The Agreement Steward reserves the right to
+publish new versions (including revisions) of this Agreement from time to time.
+No one other than the Agreement Steward has the right to modify this Agreement.
+IBM is the initial Agreement Steward. IBM may assign the responsibility to
+serve as the Agreement Steward to a suitable separate entity. Each new version
+of the Agreement will be given a distinguishing version number. The Program
+(including Contributions) may always be distributed subject to the version of
+the Agreement under which it was received. In addition, after a new version of
+the Agreement is published, Contributor may elect to distribute the Program
+(including its Contributions) under the new version. Except as expressly stated
+in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
+the intellectual property of any Contributor under this Agreement, whether
+expressly, by implication, estoppel or otherwise. All rights in the Program not
+expressly granted under this Agreement are reserved.
+
+This Agreement is governed by the laws of the State of New York and the
+intellectual property laws of the United States of America. No party to this
+Agreement will bring a legal action under this Agreement more than one year
+after the cause of action arose. Each party waives its rights to a jury trial
+in any resulting litigation. 
+
+-----------------------------------------------------------------------
+
+GRIZZLED SLF4J LICENSE
+
+This software is released under a BSD license, adapted from
+<http://opensource.org/licenses/bsd-license.php>
+
+Copyright &copy; 2010 Brian M. Clapper.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice,
+  this list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+
+* Neither the name "clapper.org" nor the names of its contributors may be
+  used to endorse or promote products derived from this software without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+
+-----------------------------------------------------------------------
+
+SCALATRA LICENSE
+
+Scalatra is distributed under the following terms:
+
+Copyright (c) Alan Dipert <alan.dipert@gmail.com>. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+   notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+   notice, this list of conditions and the following disclaimer in the
+   documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+
+-----------------------------------------------------------------------
+
+SCALA LICENSE
+
+Copyright (c) 2002-2013 EPFL, Lausanne, unless otherwise specified.
+All rights reserved.
+
+This software was developed by the Programming Methods Laboratory of the
+Swiss Federal Institute of Technology (EPFL), Lausanne, Switzerland.
+
+Permission to use, copy, modify, and distribute this software in source
+or binary form for any purpose with or without fee is hereby granted,
+provided that the following conditions are met:
+
+   1. Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+
+   2. Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+
+   3. Neither the name of the EPFL nor the names of its contributors
+      may be used to endorse or promote products derived from this
+      software without specific prior written permission.
+
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+
+-----------------------------------------------------------------------
+
+JOPTSIMPLE LICENSE
+
+The MIT License
+
+Copyright (c) 2004-2013 Paul R. Holser, Jr.
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644 (file)
index 0000000..d55740e
--- /dev/null
+++ b/README.md
@@ -0,0 +1,55 @@
+## What is Samza?
+
+Apache Incubator Samza is a distributed stream processing framework. It uses <a target="_blank" href="http://kafka.apache.org">Apache Kafka</a> for messaging, and <a target="_blank" href="http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/YARN.html">Apache Hadoop YARN</a> to provide fault tolerance, processor isolation, security, and resource management.
+
+* **Simpe API:** Unlike most low-level messaging system APIs, Samza provides a very simple call-back based "process message" API that should be familiar to anyone that's used Map/Reduce.
+* **Managed state:** Samza manages snapshotting and restoration of a stream processor's state. Samza will restore a stream processor's state to a snapshot consistent with the processor's last read messages when the processor is restarted.
+* **Fault tolerance:** Samza will work with YARN to restart your stream processor if there is a machine or processor failure.
+* **Durability:** Samza uses Kafka to guarantee that messages will be processed in the order they were written to a partition, and that no messages will ever be lost.
+* **Scalability:** Samza is partitioned and distributed at every level. Kafka provides ordered, partitioned, re-playable, fault-tolerant streams. YARN provides a distributed environment for Samza containers to run in.
+* **Pluggable:** Though Samza works out of the box with Kafka and YARN, Samza provides a pluggable API that lets you run Samza with other messaging systems and execution environments.
+* **Processor isolation:** Samza works with Apache YARN, which supports processor security through Hadoop's security model, and resource isolation through Linux CGroups.
+
+Check out [Hello Samza](/startup/hello-samza/0.7.0) to try Samza. Read the [Background](/learn/documentation/0.7.0/introduction/background.html) page to learn more about Samza.
+
+### Building Samza
+
+To build Samza, run:
+
+    ./gradlew clean build
+
+#### Scala and YARN
+
+Samza builds with [Scala](http://www.scala-lang.org/) 2.9.2 and [YARN](http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/YARN.html) 2.0.5-alpha, by default. Use the -PscalaVersion and -PyarnVersion switches to change versions. Samza supports building Scala with 2.8.1 or 2.9.2, and building YARN with 2.0.3-alpha, 2.0.4-alpha, and 2.0.5-alpha.
+
+    ./gradlew -PscalaVersion=2.8.1 -PyarnVersion=2.0.3-alpha clean build
+
+YARN protocols are backwards incompatible, so you must pick the version that matches your YARN grid.
+
+### Testing Samza
+
+To run all tests:
+
+    ./gradlew clean test
+
+To run a single test:
+
+    ./gradlew clean :samza-test:test -Dtest.single=TestStatefulTask
+
+#### Maven
+
+Samza uses Kafka, which is not managed by Maven. To use Kafka as though it were a Maven artifact, Samza installs Kafka into a local repository using the `mvn install` command. You must have Maven installed to build Samza.
+
+### Developers
+
+To get eclipse projects, run:
+
+    ./gradlew eclipse
+
+For IntelliJ, run:
+
+    ./gradlew idea
+
+### Pardon our Dust
+
+Apache Samza is currently undergoing incubation at the [Apache Software Foundation](http://www.apache.org/).
diff --git a/RELEASE.md b/RELEASE.md
new file mode 100644 (file)
index 0000000..06a22df
--- /dev/null
@@ -0,0 +1,16 @@
+Validate that all Samza source files have proper license information in their header.
+
+    ./gradlew check
+
+Auto-generate all missing headers in files:
+
+    ./gradlew licenseFormatMain
+
+To release to a local Maven repository:
+
+    ./gradlew clean publishToMavenLocal
+    ./gradlew -PscalaVersion=2.8.1 clean publishToMavenLocal
+
+To generate test coverage reports:
+
+    ./gradlew clean jacocoTestReport
diff --git a/build.gradle b/build.gradle
new file mode 100644 (file)
index 0000000..4c4e99c
--- /dev/null
@@ -0,0 +1,182 @@
+buildscript {
+  repositories {
+    mavenCentral()
+  }
+
+  apply from: file('gradle/buildscript.gradle'), to: buildscript 
+}
+
+allprojects {
+  repositories {
+    // Required for Kafka. Kafka's 0.8.0-beta1 Maven Central
+    // POM is broken. Should go away in future releases.
+    maven {
+      url 'https://repository.apache.org/content/groups/public'
+    }
+    mavenCentral()
+    mavenLocal()
+  }
+}
+
+apply from: file('gradle/license.gradle')
+apply from: file('gradle/maven.gradle')
+apply from: file("gradle/dependency-versions.gradle")
+apply from: file("gradle/dependency-versions-scala-" + scalaVersion + ".gradle")
+
+subprojects {
+  group = "org.apache.samza"
+
+  apply plugin: 'jacoco'
+  apply plugin: 'eclipse'
+  apply plugin: 'idea'
+  apply plugin: 'project-report'
+}
+
+project(':samza-api') {
+  apply plugin: 'java'
+
+  dependencies {
+    testCompile "junit:junit:$junitVersion"
+  }
+}
+
+project(":samza-core_$scalaVersion") {
+  apply plugin: 'scala'
+
+  dependencies {
+    compile project(':samza-api')
+    compile "org.scala-lang:scala-library:$scalaVersion"
+    compile "org.clapper:grizzled-slf4j_$scalaVersion:$grizzledVersion"
+    compile "net.sf.jopt-simple:jopt-simple:$joptSimpleVersion"
+    compile "org.codehaus.jackson:jackson-jaxrs:$jacksonVersion"
+    testCompile "junit:junit:$junitVersion"
+  }
+}
+
+project(":samza-kafka_$scalaVersion") {
+  apply plugin: 'scala'
+
+  dependencies {
+    compile project(':samza-api')
+    compile project(":samza-core_$scalaVersion")
+    compile project(":samza-serializers_$scalaVersion")
+    compile "org.scala-lang:scala-library:$scalaVersion"
+    compile "org.clapper:grizzled-slf4j_$scalaVersion:$grizzledVersion"
+    compile "com.101tec:zkclient:$zkClientVersion"
+    compile "org.codehaus.jackson:jackson-jaxrs:$jacksonVersion"
+    // these can all go away when kafka is in maven
+    compile files("lib/kafka_$scalaVersion-" + kafkaVersion + ".jar")
+    compile "com.yammer.metrics:metrics-core:$metricsVersion"
+    compile "com.yammer.metrics:metrics-annotation:$metricsVersion"
+    // end these can all go away when kafka is in maven
+    testCompile "junit:junit:$junitVersion"
+    testCompile "org.mockito:mockito-all:$mockitoVersion"
+    // these can all go away when kafka is in maven
+    testCompile files("lib/kafka_$scalaVersion-$kafkaVersion-test.jar")
+    // end these can all go away when kafka is in maven
+  }
+}
+
+project(":samza-serializers_$scalaVersion") {
+  apply plugin: 'scala'
+
+  dependencies {
+    compile project(':samza-api')
+    compile project(":samza-core_$scalaVersion")
+    compile "org.scala-lang:scala-library:$scalaVersion"
+    compile "org.clapper:grizzled-slf4j_$scalaVersion:$grizzledVersion"
+    compile "org.codehaus.jackson:jackson-jaxrs:$jacksonVersion"
+    testCompile "junit:junit:$junitVersion"
+  }
+}
+
+project(":samza-yarn_$scalaVersion") {
+  apply plugin: 'scala'
+
+  jar {  
+    classifier = "yarn-$yarnVersion"
+  }
+
+  dependencies {
+    compile project(':samza-api')
+    compile project(":samza-core_$scalaVersion")
+    compile "org.scala-lang:scala-library:$scalaVersion"
+    compile "org.scala-lang:scala-compiler:$scalaVersion"
+    compile "org.clapper:grizzled-slf4j_$scalaVersion:$grizzledVersion"
+    compile "org.codehaus.jackson:jackson-jaxrs:$jacksonVersion"
+    compile "commons-httpclient:commons-httpclient:$commonsHttpClientVersion"
+    compile "org.eclipse.jetty:jetty-webapp:$jettyVersion"
+    compile("org.apache.hadoop:hadoop-yarn-api:$yarnVersion") {
+      exclude module: 'slf4j-log4j12'
+    }
+    compile("org.apache.hadoop:hadoop-yarn-common:$yarnVersion") {
+      exclude module: 'slf4j-log4j12'
+    }
+    compile("org.apache.hadoop:hadoop-yarn-client:$yarnVersion") {
+      exclude module: 'slf4j-log4j12'
+    }
+    compile("org.apache.hadoop:hadoop-common:$yarnVersion") {
+      exclude module: 'slf4j-log4j12'
+      exclude module: 'servlet-api'
+      exclude module: 'jetty'
+      exclude module: 'jetty-util'
+    }
+    compile("org.scalatra:scalatra_$scalaVersion:$scalatraVersion") {
+      exclude module: 'scala-compiler'
+      exclude module: 'slf4j-api'
+    }
+    compile("org.scalatra:scalatra-scalate_$scalaVersion:$scalatraVersion") {
+      exclude module: 'scala-compiler'
+      exclude module: 'slf4j-api'
+    }
+    testCompile "junit:junit:$junitVersion"
+  }
+
+  repositories {
+    maven {
+      url "http://repo.typesafe.com/typesafe/releases"
+    }
+  }
+}
+
+project(":samza-shell") {
+  apply plugin: 'java'
+
+  task shellTarGz(type: Tar) { 
+    compression = Compression.GZIP 
+    classifier = 'dist'
+    from 'src/main/bash'
+  }
+}
+
+project(":samza-kv_$scalaVersion") {
+  apply plugin: 'scala'
+
+  dependencies {
+    compile project(':samza-api')
+    compile "org.scala-lang:scala-library:$scalaVersion"
+    compile "org.clapper:grizzled-slf4j_$scalaVersion:$grizzledVersion"
+    compile "org.fusesource.leveldbjni:leveldbjni-all:$leveldbVersion"
+    testCompile "junit:junit:$junitVersion"
+  }
+}
+
+project(":samza-test_$scalaVersion") {
+  apply plugin: 'scala'
+
+  dependencies {
+    compile project(':samza-api')
+    compile project(":samza-kv_$scalaVersion")
+    compile "org.scala-lang:scala-library:$scalaVersion"
+    compile "org.clapper:grizzled-slf4j_$scalaVersion:$grizzledVersion"
+    compile "net.sf.jopt-simple:jopt-simple:$joptSimpleVersion"
+    compile "javax.mail:mail:1.4"
+    compile files("../samza-kafka/lib/kafka_$scalaVersion-" + kafkaVersion + ".jar")
+    testCompile "junit:junit:$junitVersion"
+    testCompile files("../samza-kafka/lib/kafka_$scalaVersion-" + kafkaVersion + "-test.jar")
+    testCompile "com.101tec:zkclient:$zkClientVersion"
+    testCompile project(":samza-core_$scalaVersion")
+    testCompile project(":samza-kafka_$scalaVersion")
+  }
+}
+
diff --git a/docs/README.md b/docs/README.md
new file mode 100644 (file)
index 0000000..0c1d55c
--- /dev/null
@@ -0,0 +1,35 @@
+## Setup
+
+Samza's documentation uses Jekyll to build a website out of markdown pages. To install Jekyll, run this command:
+
+    sudo gem install jekyll redcarpet
+
+To run the website locally, execute:
+
+    jekyll serve --watch --host 0.0.0.0
+
+To compile the website in the _site directory, execute:
+
+    jekyll build
+
+## Versioning
+
+The "Learn" section of this website is versioned. To add a new version, copy the folder at the version number-level (0.7.0 to 0.8.0, for example).
+
+All links between pages inside a versioned folder should be relative links, not absolute.
+
+## Javadocs
+
+To auto-generate the latest Javadocs, run:
+
+    _tools/generate-javadocs.sh <version>
+
+The version number is the number that will be used in the /docs/learn/documentation/<version>/api/javadocs path.
+
+## Release
+
+To build and publish the website to Samza's Apache SVN repository, run:
+
+    _tools/publish-site.sh 0.7.0 "updating welcome page" criccomini
+
+This command will re-build the Javadocs and website, checkout https://svn.apache.org/repos/asf/incubator/samza/site/ locally, copy the site into the directory, and commit the changes.
diff --git a/docs/_config.yml b/docs/_config.yml
new file mode 100644 (file)
index 0000000..bc84c84
--- /dev/null
@@ -0,0 +1,5 @@
+permalink: /:categories/:title
+name: Samza
+pygments: true
+markdown: redcarpet
+exclude: ['_notes']
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html
new file mode 100644 (file)
index 0000000..da2f3cd
--- /dev/null
@@ -0,0 +1,77 @@
+<html>
+  <head>
+    <title>Samza {% if page.title %}- {{page.title}}{% endif %}</title>
+    <link href="/css/main.css" rel="stylesheet"/>
+    <link href='http://fonts.googleapis.com/css?family=Ropa+Sans' rel='stylesheet' type='text/css'/>
+    <link href="http://netdna.bootstrapcdn.com/font-awesome/3.1.1/css/font-awesome.css" rel="stylesheet"/>
+    <link rel="icon" type="image/png" href="/img/samza-icon.png">
+  </head>
+  <body>
+    <div class="container">
+      <div class="container-inner">
+      <div class="header">
+        <div class="page">
+          <div class="logo">
+            <a href="/" class="logo">samza</a>
+          </div>
+          <div class="top-icons">
+            <a href="/startup/download"><i class="icon-download top-icon"></i></a>
+            <a href="http://git-wip-us.apache.org/repos/asf/incubator-samza.git" target="_blank"><i class="icon-code top-icon" style="font-weight: bold;"></i></a>
+            <a href="https://twitter.com/samzastream" target="_blank"><i class="icon-twitter top-icon"></i></a>
+          </div>
+        </div>
+      </div>
+    
+      <div class="page">
+        <!-- menu -->
+        <div class="menu">
+          <div class="menu-inner">
+            <div class="menu-title"><i class="icon-rocket"></i> Getting Started</div>
+            <div class="menu-category">
+              <a href="/startup/hello-samza/0.7.0">Hello Samza</a><br/>
+              <a href="/startup/download">Download</a><br/>
+            </div>
+            <div class="menu-title"><i class="icon-book"></i> Learn</div>
+            <div class="menu-category">
+              <a href="/learn/documentation/0.7.0">Documentation</a><br/>
+              <a href="/learn/tutorials/0.7.0">Tutorials</a><br/>
+              FAQ<br/>
+              <a href="http://wiki.apache.org/samza">Wiki</a><br/>
+              Papers &amp; Talks<br/>
+            </div>
+            <div class="menu-title"><i class="icon-comments"></i> Community</div>
+            <div class="menu-category">
+              <a href="/community/mailing-lists.html">Mailing Lists</a><br/>
+              <a href="/community/irc.html">IRC</a><br/>
+              <a href="https://issues.apache.org/jira/browse/SAMZA">Bugs</a><br/>
+              Powered by<br/>
+              Ecosystem<br/>
+              <a href="/community/committers.html">Committers</a>
+            </div>
+            <div class="menu-title"><i class="icon-code"></i> Contribute</div>
+            <div class="menu-category">
+              <a href="/contribute/rules.html">Rules</a><br/>
+              <a href="/contribute/coding-guide.html">Coding Guide</a><br/>
+              <a href="/contribute/projects.html">Projects</a><br/>
+              <a href="/contribute/seps.html">SEPs</a><br/>
+              <a href="/contribute/code.html">Code</a><br/>
+              <a href="https://reviews.apache.org/groups/samza">Review Board</a><br/>
+              <a href="https://builds.apache.org/">Unit Tests</a><br/>
+              <a href="/contribute/disclaimer.html">Disclaimer</a>
+            </div>
+          </div>
+        </div>
+        <!-- body -->
+        <div class="body">
+          {{content}}
+        </div>
+        </div>
+      </div>
+    </div>
+    <div class="footer">
+      <div class="page footer-content">
+        <!-- nothing for now. -->
+      </div>
+    </div>
+  </body>
+</html>
diff --git a/docs/_layouts/page.html b/docs/_layouts/page.html
new file mode 100644 (file)
index 0000000..007adf9
--- /dev/null
@@ -0,0 +1,7 @@
+---
+layout: default
+---
+
+<h2>{{ page.title }}</h2>
+
+{{ content }}
diff --git a/docs/_notes/TODO.md b/docs/_notes/TODO.md
new file mode 100644 (file)
index 0000000..5ce8301
--- /dev/null
@@ -0,0 +1,95 @@
+## TODO items
+
+* rename everything to samza
+* cut a 0.7 branch
+* release samza 0.7.0 snapshot to artifactory
+* docs
+  YARN
+    Fault tolerance
+    Security
+  * comparisons pages
+    * JMS
+    * Aurora
+    * JMS
+    * S4
+  * configuration update (make sure we have everything)
+  * add versioning link in docs page, so you can get to other version numbers
+* tutorials
+  * Configuring a Kafka System
+  * Configuring a YARN cluster
+  * Joining Streams
+  * Sorting a Stream
+  * Group-by and Counting
+  * Initializing and Closing
+  * Windowing
+  * Committing
+* add versioning link in docs page, so you can get to other version numbers
+
+## Rules/coding guideline/config brainstorm
+
+Before contributing to Samza, please have a look at the rules listed below.
+
+### Coding Style
+
+TODO add coding style rules for Java and Scala. Should look into enforcing them through Maven.
+
+### Metrics
+
+TODO we should add some metric rules here.
+
+### Configuration
+
+12. TODO When in Scala * how to handle null/none?
+
+```
+public interface MyConfig
+{
+  @Config("yarn.package.uri")
+  URI getYarnPackageUri();
+
+  @Config("systems.<system>.consumer.factory")
+  @Default()
+  Class<StreamConsumerFactory> getSystemsConsumerFactory(String systemName);
+
+  @Config("systems.<system>.*")
+  Map<String, String> getSystems(String systemName);
+}
+```
+
+<!-- https://github.com/brianm/config-magic -->
+
+Open:
+
+* We are mixing wiring and configuration together. How do other systems handle this?
+* We have fragmented configuration (anybody can define configuration). How do other systems handle this?
+* Want to do "best practices" configuration name validation at compile time (enforce rules outlined above).
+* How to handle getting of submaps? Should it return a config object, instead? If so, should it be typed? (e.g. config.getSubset("foo.bar.") = Config or config.getSubset("foo.bar.") = SystemConfig)
+
+Solved:
+
+* Want to auto-generate documentation based off of configuration.
+  @Description
+* Should support global defaults for a config property. Right now, we do config.getFoo.getOrElse() everywhere.
+  @Default
+* How to handle undefined configuration? How to make this interoperable with both Java and Scala (i.e. should we support Option in Scala)? 
+  getInt("foo", null) or getInt("foo"); latter throws an exception if undefined. In Scala, Option(getInt("foo", null)) does the trick.
+* Should work with CFG2 and Java .properties files.
+* Should remain immutable.
+* Should remove implicits. Just confusing.
+  val kafkaConfig = new KafkaConfig(config)
+  val systemConfig = new SystemConfig(config)
+
+```
+public interface MyConfig
+{
+  @Config("yarn.package.uri")
+  URI getYarnPackageUri();
+
+  @Config("systems.<system>.consumer.factory")
+  @Default()
+  Class<StreamConsumerFactory> getSystemsConsumerFactory(String systemName);
+
+  @Config("systems.<system>.*")
+  Map<String, String> getSystems(String systemName);
+}
+```
diff --git a/docs/_tools/generate-javadocs.sh b/docs/_tools/generate-javadocs.sh
new file mode 100755 (executable)
index 0000000..4beb55e
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+BASE_DIR=$DIR/../..
+VERSION=$1
+JAVADOC_DIR=$BASE_DIR/docs/learn/documentation/$VERSION/api/javadocs
+
+if test -z "$VERSION"; then
+  echo
+  echo "  USAGE:"
+  echo
+  echo "    ${BASH_SOURCE[0]##*/} 0.7.0"
+  echo
+  exit 0
+fi
+
+cd $BASE_DIR
+./gradlew javadoc
+rm -rf $JAVADOC_DIR
+mkdir -p $JAVADOC_DIR
+cp -r $BASE_DIR/samza-api/build/docs/javadoc/* $JAVADOC_DIR
+git add $JAVADOC_DIR
+cd -
diff --git a/docs/_tools/publish-site.sh b/docs/_tools/publish-site.sh
new file mode 100755 (executable)
index 0000000..285c9e7
--- /dev/null
@@ -0,0 +1,34 @@
+#!/bin/bash
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+BASE_DIR=$DIR/../..
+DOCS_DIR=$BASE_DIR/docs
+VERSION=$1
+COMMENT=$2
+USER=$3
+
+if test -z "$VERSION" || test -z "$COMMENT" || test -z "$USER"; then
+  echo
+  echo "  USAGE:"
+  echo
+  echo "    ${BASH_SOURCE[0]##*/} 0.7.0 \"updating welcome page\" criccomini"
+  echo
+  exit 0
+fi
+
+echo "Using uer: $USER"
+echo "Using version: $VERSION"
+echo "Using comment: $COMMENT"
+echo "Generating javadocs."
+$DOCS_DIR/_tools/generate-javadocs.sh $VERSION
+
+echo "Building site."
+cd $DOCS_DIR
+jekyll build
+
+echo "Checking out SVN site."
+SVN_TMP=`mktemp -d /tmp/samza-svn.XXXX`
+svn co https://svn.apache.org/repos/asf/incubator/samza/ $SVN_TMP
+cp -r _site/* $SVN_TMP/site/
+svn add --force $SVN_TMP/site
+svn commit $SVN_TMP -m"$COMMENT" --username $USER
+rm -rf $SVN_TMP
diff --git a/docs/community/committers.md b/docs/community/committers.md
new file mode 100644 (file)
index 0000000..a240978
--- /dev/null
@@ -0,0 +1,46 @@
+---
+layout: page
+title: Committers
+---
+
+**Jakob Homan**<br/>
+Apache Member, Committer, and PMC member<br/>
+<a href="http://www.linkedin.com/in/jghoman" target="_blank"><i class="icon-linkedin committer-icon"></i></a>
+<a href="http://twitter.com/blueboxtraveler" target="_blank"><i class="icon-twitter committer-icon"></i></a>
+
+**Jay Kreps**<br/>
+Committer, and PMC member<br/>
+<a href="http://www.linkedin.com/in/jaykreps" target="_blank"><i class="icon-linkedin committer-icon"></i></a>
+<a href="http://twitter.com/jaykreps" target="_blank"><i class="icon-twitter committer-icon"></i></a>
+
+**Chris Riccomini**<br/>
+Committer, and PMC member<br/>
+<a href="http://www.linkedin.com/in/riccomini" target="_blank"><i class="icon-linkedin committer-icon"></i></a>
+<a href="http://twitter.com/criccomini" target="_blank"><i class="icon-twitter committer-icon"></i></a>
+
+**Sriram Subramanian**<br/>
+Committer, and PMC member<br/>
+<a href="http://www.linkedin.com/pub/sriram-subramanian/3/52a/162" target="_blank"><i class="icon-linkedin committer-icon"></i></a>
+<a href="http://twitter.com/sriramsub1" target="_blank"><i class="icon-twitter committer-icon"></i></a>
+
+### Mentors
+
+**Chris Douglas**<br/>
+Apache Member<br/>
+<a href="http://www.linkedin.com/pub/chris-douglas/1/33a/733" target="_blank"><i class="icon-linkedin committer-icon"></i></a>
+<a href="https://twitter.com/chris_douglas" target="_blank"><i class="icon-twitter committer-icon"></i></a>
+
+**Jakob Homan**<br/>
+Apache Member, Committer, and PMC member<br/>
+<a href="http://www.linkedin.com/in/jghoman" target="_blank"><i class="icon-linkedin committer-icon"></i></a>
+<a href="http://twitter.com/blueboxtraveler" target="_blank"><i class="icon-twitter committer-icon"></i></a>
+
+**Arun C Murthy**<br/>
+Apache Member<br/>
+<a href="http://www.linkedin.com/in/acmurthy" target="_blank"><i class="icon-linkedin committer-icon"></i></a>
+<a href="https://twitter.com/acmurthy" target="_blank"><i class="icon-twitter committer-icon"></i></a>
+
+**Roman Shaposhnik**<br/>
+Apache Incubator PMC Member<br/>
+<a href="http://www.linkedin.com/in/shaposhnik" target="_blank"><i class="icon-linkedin committer-icon"></i></a>
+<a href="https://twitter.com/rhatr" target="_blank"><i class="icon-twitter committer-icon"></i></a>
diff --git a/docs/community/irc.md b/docs/community/irc.md
new file mode 100644 (file)
index 0000000..ac191e5
--- /dev/null
@@ -0,0 +1,12 @@
+---
+layout: page
+title: IRC
+---
+
+We have an IRC channel where there is often a few people hanging around if you want an interactive discussion. You can find us on chat.freenode.net    in #samza room.
+
+### WebIRC
+
+To talk to us right now, just enter a username, and set the channel to #samza, below.
+
+<iframe src="http://webchat.freenode.net/?channels=channel_name" style="width: 100%; height: 500px; border: none;"></iframe>
diff --git a/docs/community/mailing-lists.md b/docs/community/mailing-lists.md
new file mode 100644 (file)
index 0000000..b44dadd
--- /dev/null
@@ -0,0 +1,16 @@
+---
+layout: page
+title: Mailing Lists
+---
+
+<!-- TODO update with links to real mailing lists when apache gives them to us. -->
+
+<!-- TODO update searchable links when we have them (see kafka page). -->
+
+We have a few mailing lists hosted by Apache:
+
+* **dev@samza.incubator.apache.org**  <small>([subscribe](mailto:dev-subscribe@samza.incubator.apache.org), [unsubscribe](mailto:dev-unsubscribe@samza.incubator.apache.org))</small><br/>
+  A list for discussion on Samza development. Email here for help.
+
+* **commits@samza.incubator.apache.org** <small>([subscribe](mailto:commits-subscribe@samza.incubator.apache.org), [unsubscribe](mailto:commits-unsubscribe@samza.incubator.apache.org))</small><br/>
+  A list to track Samza commits.
diff --git a/docs/contribute/code.md b/docs/contribute/code.md
new file mode 100644 (file)
index 0000000..f580969
--- /dev/null
@@ -0,0 +1,16 @@
+---
+layout: page
+title: Code
+---
+
+Samza's code is in an Apache Git repository located [here](https://git-wip-us.apache.org/repos/asf?p=incubator-samza.git;a=tree).
+
+You can check out Samza's code by running:
+
+```
+git clone http://git-wip-us.apache.org/repos/asf/incubator-samza.git
+````
+
+If you are a committer you need to use https instead of http to check in.
+
+Please see the [Rules](rules.html) page for information on how to contribute.
diff --git a/docs/contribute/coding-guide.md b/docs/contribute/coding-guide.md
new file mode 100644 (file)
index 0000000..cdcb0ea
--- /dev/null
@@ -0,0 +1,97 @@
+---
+layout: page
+title: Coding Guide
+---
+
+<!-- TODO link to hudson when we have an apache hudson boxes. -->
+
+These guidelines are meant to encourage consistency and best practices amongst people working on the Samza code base. They should be observed unless there is a compelling reason to ignore them.
+
+### Basic Stuff
+
+* Avoid cryptic abbreviations. Single letter variable names are fine in very short methods with few variables, otherwise make them informative.
+* Clear code is preferable to comments. When possible make your naming so good you don't need comments. When that isn't possible comments should be thought of as mandatory, write them to be read.
+* Logging, configuration, and public APIs are our "UI". Make them pretty, consistent, and usable.
+* There is not a maximum line length (certainly not 80 characters, we don't work on punch cards any more), but be reasonable.
+* Don't be sloppy. Don't check in commented out code: we use version control, it is still there in the history. Don't leave TODOs in the code or FIXMEs if you can help it. Don't leave println statements in the code. Hopefully this is all obvious.
+* We want people to use our stuff, which means we need clear, correct documentation. User documentation should be considered a part of any user-facing the feature, just like unit tests or performance results.
+* Don't duplicate code (duh).
+* Any API that's user-facing (something that a Samza job could use) should be defined in samza-api as a Java interface. Scala is for implementation only.
+
+### Scala
+
+We are following the style guide given here (though not perfectly). Below are some specifics worth noting:
+
+* Scala is a very flexible language. Use restraint. Magic cryptic one-liners do not impress us, readability impresses us.
+* Use vals when possible.
+* Use private when possible for member variables.
+* Method and member variable names should be in camel case with an initial lower case character like aMethodName.
+* Constants should be camel case with an initial capital LikeThis not LIKE_THIS.
+* Prefer a single top-level class per file for ease of finding things.
+* Do not use semi-colons unless required.
+* Avoid getters and setters - stick to plain vals or vars instead. If (later on) you require a custom setter (or getter) for a var named myVar then add a shadow var myVar\_underlying and override the setter (def myVar =) and the getter (def myVar = myVar\_underlying).
+* Perfer Option to null in scala APIs.
+* Use named arguments when passing in literal values if the meaning is at all unclear, for example instead of Utils.delete(true) prefer Utils.delete(recursive=true).
+* Indentation is 2 spaces and never tabs. One could argue the right amount of indentation, but 2 seems to be standard for Scala and consistency is best here since there is clearly no "right" way.
+* Include the optional parenthesis on a no-arg method only if the method has a side-effect, otherwise omit them. For example fileChannel.force() and fileChannel.size. This helps emphasize that you are calling the method for the side effect, which is changing some state, not just getting the return value.
+* Prefer case classes to tuples in important APIs to make it clear what the intended contents are.
+
+### Logging
+
+* We use [grizzled-slf4j](http://software.clapper.org/grizzled-slf4j/) for Scala logging, and [SLF4J](http://www.slf4j.org/) (with [Log4J](http://logging.apache.org/log4j/2.x/)) for Java.
+* Logging is one third of our "UI" and it should be taken seriously. Please take the time to assess the logs when making a change to ensure that the important things are getting logged and there is no junk there.
+* Don't include a stack trace in INFO, or above, unless there is really something wrong. Stack traces in logs should signal something is wrong, not be informative. If you want to be informative, write an actual log line that say's what's important, and save the stack trace for DEBUG.
+* Logging statements should be complete sentences with proper capitalization that are written to be read by a person not necessarily familiar with the source code. * It is fine to put in hacky little logging statements when debugging, but either clean them up or remove them before checking in. So logging something like "INFO: entering SyncProducer send()" is not appropriate.
+* Logging should not mention class names or internal variables.
+* There are six levels of logging TRACE, DEBUG, INFO, WARN, ERROR, and FATAL, they should be used as follows.
+  * INFO is the level you should assume the software will be run in. INFO messages are things which are not bad but which the user will definitely want to know about every time they occur.
+  * TRACE and DEBUG are both things you turn on when something is wrong and you want to figure out what is going on. DEBUG should not be so fine grained that it will seriously effect the performance of the Samza job. TRACE can be anything.
+  * WARN and ERROR indicate something that is bad. Use WARN if you aren't totally sure it is bad, and ERROR if you are.
+  * Use FATAL only right before calling System.exit().
+
+### Metrics
+
+* Metrics should be taken seriously. The goal with metrics is to provide enough information that users can determine that their Samza job is running properly.
+* We have a metrics package in samza-api. It supports counters and gauges, and should be used for all features.
+* Any new features should come with appropriate metrics to know the feature is working correctly. This is at least as important as unit tests as it verifies production.
+* Metric naming should be of the form: group=samza.core.task.runner, name=UnprocessedMessages.
+
+### Unit Tests
+
+* New patches should come with unit tests that verify the functionality being added.
+* Unit tests are first rate code, and should be treated like it. They should not contain code duplication, cryptic hackery, or anything like that.
+* Unit tests should test the least amount of code possible, don't start Kafka or YARN unless there is no other way to test a single class or small group of classes in isolation.
+* Tests should not depend on any external resources, they need to set up and tear down their own stuff. This means if you want zookeeper it needs to be started and stopped, you can't depend on it already being there. Likewise if you need a file with some data in it, you need to write it in the beginning of the test and delete it (pass or fail).
+* Do not use sleep or other timing assumptions in tests, it is always, always, always wrong and will fail intermittently on any test server with other things going on that causes delays. Write tests in such a way that they are not timing dependent. Seriously. One thing that will help this is to never directly use the system clock in code (i.e. System.currentTimeMillis) but instead to use getTime: () => Long, so that time can be mocked.
+* It must be possible to run the tests in parallel, without having them collide. This is a practical thing to allow multiple branches to CI on a single CI server. This means you can't hard code directories or ports or things like that in tests because two instances will step on each other.
+
+### Configuration
+
+* Configuration is the final third of our "UI".
+* All configuration names that define time must end with .ms (e.g. foo.bar.ms=1000).
+* All configuration names that define a byte size must end with .bytes (e.g. foo.bar.bytes=1000).
+* All configuration names that define a URI must end with .uri (e.g. yarn.package.uri).
+* All configuration names that support a CSV list must end with .list (e.g. task.input.stream.list)
+* All configuration names that define a class must end with .class (e.g. task.command.class).
+* All configuration names that define a factory class must end with .factory.class (e.g. systems.kafka.consumer.factory.class).
+* Configuration will always be defined as simple key/value pairs (e.g. a=b).
+* When configuration is related, it must be grouped using the same prefix (e.g. yarn.container.count=1, yarn.container.memory.bytes=1073741824).
+* When configuration must be defined multiple times, the key should be parameterized (e.g. systems.kafka.consumer.factory=x, systems.kestrel.consumer.factory=y). *When such configuration must be referred to, its parameter should be used (e.g. foo.bar.system=kafka, foo.bar.system=kestrel).
+* All getter methods must be a camel case match with their configuration names (e.g. yarn.package.uri and getYarnPackageUri).
+* Reading configuration should only be done in factories and main methods. Don't pass Config objects around.
+* Names should be thought through from the point of view of the person using the config, but often programmers choose configuration names that make sense for someone reading the code.
+* Often the value that makes most sense in configuration is not the one most useful to program with. For example, let's say you want to throttle I/O to avoid using up all the I/O bandwidth. The easiest thing to implement is to give a "sleep time" configuration that let's the program sleep after doing I/O to throttle down its rate. But notice how hard it is to correctly use this configuration parameter, the user has to figure out the rate of I/O on the machine, and then do a bunch of arithmetic to calculate the right sleep time to give the desired rate of I/O on the system. It is much, much, much better to just have the user configure the maximum I/O rate they want to allow (say 5MB/sec) and then calculate the appropriate sleep time from that and the actual I/O rate. Another way to say this is that configuration should always be in terms of the quantity that the user knows, not the quantity you want to use.
+* Configuration is the answer to problems we can't solve up front for some reason--if there is a way to just choose a best value do that instead.
+* Configuration should come from the job-level properties file. No additional sources of config (environment variables, system properties, etc) should be added as these usually inhibit running multiple instances of a broker on one machine.
+
+### Concurrency
+
+* Encapsulate synchronization. That is, locks should be private member variables within a class and only one class or method should need to be examined to verify the correctness of the synchronization strategy.
+* There are a number of gotchas with threads and threadpools: is the daemon flag set appropriately for your threads? are your threads being named in a way that will distinguish their purpose in a thread dump? What happens when the number of queued tasks hits the limit (do you drop stuff? do you block?).
+* Prefer the java.util.concurrent packages to either low-level wait-notify, custom locking/synchronization, or higher level scala-specific primitives. The util.concurrent stuff is well thought out and actually works correctly. There is a generally feeling that threads and locking are not going to be the concurrency primitives of the future because of a variety of well-known weaknesses they have. This is probably true, but they have the advantage of actually being mature enough to use for high-performance software right now; their well-known deficiencies are easily worked around by equally well known best-practices. So avoid actors, software transactional memory, tuple spaces, or anything else not written by Doug Lea and used by at least a million other productions systems. :-)
+
+### Backwards Compatibility
+
+* Samza uses [Semantic Versioning](http://semver.org/).
+* Backwards incompatible API changes, config changes, or library upgrades should only happen between major revision changes, or when the major revision is 0.
+* The samza-api and samza-core packages should never depend on anything except logging and JSON (jackson) libraries. Prefer granular packages that isolate dependencies, rather than larger packages that group un-related dependencies together.
diff --git a/docs/contribute/disclaimer.md b/docs/contribute/disclaimer.md
new file mode 100644 (file)
index 0000000..3fe446f
--- /dev/null
@@ -0,0 +1,6 @@
+---
+layout: page
+title: Disclaimer
+---
+
+Apache Samza is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
diff --git a/docs/contribute/projects.md b/docs/contribute/projects.md
new file mode 100644 (file)
index 0000000..364c388
--- /dev/null
@@ -0,0 +1,20 @@
+---
+layout: page
+title: Projects
+---
+
+<!-- TODO link to jira newbie/meaty when we have them. -->
+
+### Newbies
+
+We tag bugs in [JIRA](https://issues.apache.org/jira/browse/SAMZA) with "newbie" that are good for people getting started with the code base. You can find the list here.
+
+### Larger Chunks of Work
+
+More meaty projects are here. The process for working on a large project is:
+
+1. Instigate discussion on the [JIRA](https://issues.apache.org/jira/browse/SAMZA).
+2. Write a [SEP](seps.html) (Samza Enhancement Proposal).
+3. Request feedback for the [SEP](seps.html) on the Jira and the samza-dev mailing list.
+4. Come to an agreement on design.
+5. Implement design.
diff --git a/docs/contribute/rules.md b/docs/contribute/rules.md
new file mode 100644 (file)
index 0000000..3bc42c3
--- /dev/null
@@ -0,0 +1,22 @@
+---
+layout: page
+title: Rules
+---
+
+<!-- TODO link to jira when we have an apache jira. -->
+
+We are always very happy to have code contributions whether for trivial cleanups or big new features. In general, patches should include:
+
+* Code change
+* Unit tests
+* Javadocs
+* Metrics
+* Logging
+
+To submit a patch for inclusion please do the following:
+
+* If you are working on a big new feature ([project](projects.html)), follow the steps outlined on the [SEPs](/contribute/seps.html) page.
+* Create a patch that applies cleanly against trunk.
+* Make sure you have observed the recommendations in the style guide.
+* Open a JIRA ticket describing the patch and attach your patch to the JIRA.
+* Nag us if we don't follow up on your JIRA in a timely fashion.
diff --git a/docs/contribute/seps.md b/docs/contribute/seps.md
new file mode 100644 (file)
index 0000000..71342fd
--- /dev/null
@@ -0,0 +1,27 @@
+---
+layout: page
+title: Samza Enhancement Proposals
+---
+
+<!-- TODO link to jira when we have an apache jira. -->
+
+When making larger changes to Samza, or working on a [project](/contribute/projects.html), please write a Samza Enhancement Proposal (SEP) on the Samza wiki. The goal of the SEP is to:
+
+1. Define the problem you're trying to solve
+2. Propose a solution, and explore alternatives.
+3. Instigate discussion on the issue.
+4. Archive design documents for future use.
+
+### How to Write a SEP
+
+SEPs are stored on the Samza wiki. To write a SEP, create a new sub page on the wiki with a title formatted as SEP-# (e.g. SEP-24).
+
+There is no set single format for a SEP, but it's common to include:
+
+1. Table of Contents
+2. Introduction
+3. Definition of problem
+4. Possible solutions
+5. Opinion on best solution
+6. Proposed metrics to add.
+7. A link to the [JIRA](https://issues.apache.org/jira/browse/SAMZA).
diff --git a/docs/css/main.css b/docs/css/main.css
new file mode 100755 (executable)
index 0000000..ae62572
--- /dev/null
@@ -0,0 +1,161 @@
+html {
+       height: 100%;
+}
+
+body {
+       margin: 0px;
+       font-family: helvetica;
+       height: 100%;
+}
+
+.header {
+       background-color: #F5F4F0;
+}
+
+.page {
+       margin-left: 15%;
+       width: 70%;
+}
+
+.body {
+       line-height: 150%;
+       margin-left: 16.67em;
+       font-size: .9em;
+}
+
+div.logo {
+       display: inline-block;
+       width: 12em;
+       font-family: 'Ropa Sans', sans-serif;
+       background-color: #FF0000;
+       padding: .5em 1em;
+}
+
+div.nav-footer {
+       margin: .5em 0em;
+}
+
+.right {
+       float: right;
+}
+
+.left {
+       float: left;
+}
+
+.top-icons {
+       float: right;
+       padding-top: .5em;
+}
+
+.top-icon {
+       font-size: 3em;
+       color: #d3d2d0;
+       margin-left: .2em;
+}
+
+.committer-icon {
+  font-size: 1.1em;
+       margin-right: .3em;
+}
+
+a.logo {
+       font-size: 3em;
+       color: white;
+       text-decoration: none;
+}
+
+.menu {
+       float: left;
+}
+
+.menu-inner {
+       width: 12em;
+       padding: 0em 1em;
+       line-height: 120%;
+}
+
+.menu-title {
+       font-weight: bold;
+}
+
+.menu-category {
+       padding: .5em 0em 1.5em 0em;
+       font-size: .8em;
+}
+
+h2 {
+       margin: 1em 0em;
+}
+
+h4 {
+       margin: .5em 0em;
+}
+
+a {
+       text-decoration: none;
+       color: #1B91E0;
+}
+
+small {
+       color: #ccc;
+}
+
+img[alt=diagram] {
+       width: 90%;
+}
+
+img[alt=diagram-medium] {
+       width: 40%;
+}
+
+img[alt=diagram-small] {
+       width: 25%;
+}
+
+code {
+       display: block;
+       line-height: 120%;
+       overflow-x: scroll;
+       width: 100%;
+       padding: 1em;
+       background-color: #eee;
+}
+
+table {
+       width: 100%;
+       text-align: left;
+}
+
+div.documentation-second-level {
+       margin-left: 20px;
+}
+
+/* footer */
+html, body, .container {
+  height: 100%;
+}
+
+body > .container {
+  height: auto;
+  min-height: 100%;
+}
+
+.footer {
+  clear: both;
+  position: relative;
+  z-index: 10;
+  height: 5em;
+  margin-top: -5em;
+  background-color: #F5F4F0;
+}
+
+.footer-content {
+  padding: 1em;
+}
+
+.container-inner {
+  padding-bottom: 5em;
+}
+
+/* end footer */
diff --git a/docs/img/0.7.0/learn/documentation/comparisons/mupd8-samza.png b/docs/img/0.7.0/learn/documentation/comparisons/mupd8-samza.png
new file mode 100644 (file)
index 0000000..5882cea
Binary files /dev/null and b/docs/img/0.7.0/learn/documentation/comparisons/mupd8-samza.png differ
diff --git a/docs/img/0.7.0/learn/documentation/comparisons/mupd8.png b/docs/img/0.7.0/learn/documentation/comparisons/mupd8.png
new file mode 100644 (file)
index 0000000..ca79982
Binary files /dev/null and b/docs/img/0.7.0/learn/documentation/comparisons/mupd8.png differ
diff --git a/docs/img/0.7.0/learn/documentation/container/checkpointing-2.png b/docs/img/0.7.0/learn/documentation/container/checkpointing-2.png
new file mode 100644 (file)
index 0000000..cfd85e1
Binary files /dev/null and b/docs/img/0.7.0/learn/documentation/container/checkpointing-2.png differ
diff --git a/docs/img/0.7.0/learn/documentation/container/checkpointing.png b/docs/img/0.7.0/learn/documentation/container/checkpointing.png
new file mode 100644 (file)
index 0000000..aa36240
Binary files /dev/null and b/docs/img/0.7.0/learn/documentation/container/checkpointing.png differ
diff --git a/docs/img/0.7.0/learn/documentation/container/job-flow.png b/docs/img/0.7.0/learn/documentation/container/job-flow.png
new file mode 100644 (file)
index 0000000..046f9e3
Binary files /dev/null and b/docs/img/0.7.0/learn/documentation/container/job-flow.png differ
diff --git a/docs/img/0.7.0/learn/documentation/container/metrics.png b/docs/img/0.7.0/learn/documentation/container/metrics.png
new file mode 100644 (file)
index 0000000..8be2a38
Binary files /dev/null and b/docs/img/0.7.0/learn/documentation/container/metrics.png differ
diff --git a/docs/img/0.7.0/learn/documentation/container/tasks-and-partitions.png b/docs/img/0.7.0/learn/documentation/container/tasks-and-partitions.png
new file mode 100644 (file)
index 0000000..68b753f
Binary files /dev/null and b/docs/img/0.7.0/learn/documentation/container/tasks-and-partitions.png differ
diff --git a/docs/img/0.7.0/learn/documentation/introduction/dag.graffle b/docs/img/0.7.0/learn/documentation/introduction/dag.graffle
new file mode 100644 (file)
index 0000000..d743ea4
--- /dev/null
@@ -0,0 +1,1009 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+       <key>ActiveLayerIndex</key>
+       <integer>0</integer>
+       <key>ApplicationVersion</key>
+       <array>
+               <string>com.omnigroup.OmniGrafflePro.MacAppStore</string>
+               <string>139.18</string>
+       </array>
+       <key>AutoAdjust</key>
+       <true/>
+       <key>BackgroundGraphic</key>
+       <dict>
+               <key>Bounds</key>
+               <string>{{0, 0}, {576.00002479553223, 733}}</string>
+               <key>Class</key>
+               <string>SolidGraphic</string>
+               <key>ID</key>
+               <integer>2</integer>
+               <key>Style</key>
+               <dict>
+                       <key>shadow</key>
+                       <dict>
+                               <key>Draws</key>
+                               <string>NO</string>
+                       </dict>
+                       <key>stroke</key>
+                       <dict>
+                               <key>Draws</key>
+                               <string>NO</string>
+                       </dict>
+               </dict>
+       </dict>
+       <key>BaseZoom</key>
+       <integer>0</integer>
+       <key>CanvasOrigin</key>
+       <string>{0, 0}</string>
+       <key>ColumnAlign</key>
+       <integer>1</integer>
+       <key>ColumnSpacing</key>
+       <real>36</real>
+       <key>CreationDate</key>
+       <string>2013-07-28 22:58:14 +0000</string>
+       <key>Creator</key>
+       <string>Jay Kreps</string>
+       <key>DisplayScale</key>
+       <string>1 0/72 in = 1 0/72 in</string>
+       <key>GraphDocumentVersion</key>
+       <integer>8</integer>
+       <key>GraphicsList</key>
+       <array>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{43.000001907348633, 12}, {208, 22}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>FitText</key>
+                       <string>YES</string>
+                       <key>Flow</key>
+                       <string>Resize</string>
+                       <key>FontInfo</key>
+                       <dict>
+                               <key>Font</key>
+                               <string>Helvetica</string>
+                               <key>Size</key>
+                               <real>12</real>
+                       </dict>
+                       <key>ID</key>
+                       <integer>39</integer>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>fill</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Pad</key>
+                               <integer>0</integer>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
+
+\f0\fs36 \cf0 A Multjob Dataflow Graph}</string>
+                               <key>VerticalPad</key>
+                               <integer>0</integer>
+                       </dict>
+                       <key>Wrap</key>
+                       <string>NO</string>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>37</integer>
+                               <key>Info</key>
+                               <integer>2</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>38</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{236.00000190734863, 144}</string>
+                               <string>{231.00000190734863, 224}</string>
+                               <string>{147.00000190734863, 292}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+                       <key>Tail</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>23</integer>
+                               <key>Info</key>
+                               <integer>1</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{113.00000190734863, 292}, {68, 27}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>ID</key>
+                       <integer>37</integer>
+                       <key>Magnets</key>
+                       <array>
+                               <string>{0, 1}</string>
+                               <string>{0, -1}</string>
+                               <string>{1, 0}</string>
+                               <string>{-1, 0}</string>
+                       </array>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc
+
+\f0\fs22 \cf0 Stream F}</string>
+                               <key>VerticalPad</key>
+                               <integer>0</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>37</integer>
+                               <key>Info</key>
+                               <integer>2</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>36</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{147.00000190734863, 268}</string>
+                               <string>{147.00000190734863, 292}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+                       <key>Tail</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>6</integer>
+                               <key>Info</key>
+                               <integer>1</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>6</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>35</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{147.00000190734863, 204}</string>
+                               <string>{147.00000190734863, 232}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+                       <key>Tail</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>27</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>6</integer>
+                               <key>Info</key>
+                               <integer>2</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>34</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{60.000001907348633, 204}</string>
+                               <string>{147.00000190734863, 232}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+                       <key>Tail</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>31</integer>
+                               <key>Info</key>
+                               <integer>1</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>31</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>33</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{60.000001907348633, 144}</string>
+                               <string>{60.000001907348633, 177}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+                       <key>Tail</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>28</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{26.000001907348633, 177}, {68, 27}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>ID</key>
+                       <integer>31</integer>
+                       <key>Magnets</key>
+                       <array>
+                               <string>{0, 1}</string>
+                               <string>{0, -1}</string>
+                               <string>{1, 0}</string>
+                               <string>{-1, 0}</string>
+                       </array>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc
+
+\f0\fs22 \cf0 Stream D}</string>
+                               <key>VerticalPad</key>
+                               <integer>0</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{113.00000190734863, 177}, {68, 27}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>ID</key>
+                       <integer>27</integer>
+                       <key>Magnets</key>
+                       <array>
+                               <string>{0, 1}</string>
+                               <string>{0, -1}</string>
+                               <string>{1, 0}</string>
+                               <string>{-1, 0}</string>
+                       </array>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc
+
+\f0\fs22 \cf0 Stream E}</string>
+                               <key>VerticalPad</key>
+                               <integer>0</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>27</integer>
+                               <key>Info</key>
+                               <integer>2</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>29</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{236.00000190734863, 144}</string>
+                               <string>{147.00000190734863, 177}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+                       <key>Tail</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>23</integer>
+                               <key>Info</key>
+                               <integer>1</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>27</integer>
+                               <key>Info</key>
+                               <integer>2</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>28</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{60.000001907348633, 144}</string>
+                               <string>{147.00000190734863, 177}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>23</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>26</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{236.00000190734863, 72}</string>
+                               <string>{236.00000190734863, 108}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+                       <key>Tail</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>22</integer>
+                               <key>Info</key>
+                               <integer>1</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>23</integer>
+                               <key>Info</key>
+                               <integer>2</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>25</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{151.00000190734863, 72}</string>
+                               <string>{236.00000190734863, 108}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+                       <key>Tail</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>21</integer>
+                               <key>Info</key>
+                               <integer>1</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>5</integer>
+                               <key>Info</key>
+                               <integer>2</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>24</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{151.00000190734863, 72}</string>
+                               <string>{60.000003814697266, 108}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+                       <key>Tail</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>21</integer>
+                               <key>Info</key>
+                               <integer>1</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{191.00000190734863, 108}, {90, 36}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>ID</key>
+                       <integer>23</integer>
+                       <key>Magnets</key>
+                       <array>
+                               <string>{0, 1}</string>
+                               <string>{0, -1}</string>
+                               <string>{1, 0}</string>
+                               <string>{-1, 0}</string>
+                       </array>
+                       <key>Shape</key>
+                       <string>Diamond</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc
+
+\f0\fs22 \cf0 Job 2}</string>
+                               <key>VerticalPad</key>
+                               <integer>0</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{202.00000190734863, 45}, {68, 27}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>ID</key>
+                       <integer>22</integer>
+                       <key>Magnets</key>
+                       <array>
+                               <string>{0, 1}</string>
+                               <string>{0, -1}</string>
+                               <string>{1, 0}</string>
+                               <string>{-1, 0}</string>
+                       </array>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc
+
+\f0\fs22 \cf0 Stream C}</string>
+                               <key>VerticalPad</key>
+                               <integer>0</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{117.00000190734863, 45}, {68, 27}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>ID</key>
+                       <integer>21</integer>
+                       <key>Magnets</key>
+                       <array>
+                               <string>{0, 1}</string>
+                               <string>{0, -1}</string>
+                               <string>{1, 0}</string>
+                               <string>{-1, 0}</string>
+                       </array>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc
+
+\f0\fs22 \cf0 Stream B}</string>
+                               <key>VerticalPad</key>
+                               <integer>0</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>5</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>20</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{60.000001907348633, 72}</string>
+                               <string>{60.000003814697266, 108}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+                       <key>Tail</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>19</integer>
+                               <key>Info</key>
+                               <integer>1</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{26.000001907348633, 45}, {68, 27}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>ID</key>
+                       <integer>19</integer>
+                       <key>Magnets</key>
+                       <array>
+                               <string>{0, 1}</string>
+                               <string>{0, -1}</string>
+                               <string>{1, 0}</string>
+                               <string>{-1, 0}</string>
+                       </array>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc
+
+\f0\fs22 \cf0 Stream A}</string>
+                               <key>VerticalPad</key>
+                               <integer>0</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{102.00000190734863, 232}, {90, 36}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>ID</key>
+                       <integer>6</integer>
+                       <key>Magnets</key>
+                       <array>
+                               <string>{0, 1}</string>
+                               <string>{0, -1}</string>
+                               <string>{1, 0}</string>
+                               <string>{-1, 0}</string>
+                       </array>
+                       <key>Shape</key>
+                       <string>Diamond</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc
+
+\f0\fs22 \cf0 Job B}</string>
+                               <key>VerticalPad</key>
+                               <integer>0</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{15.000003814697266, 108}, {90, 36}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>ID</key>
+                       <integer>5</integer>
+                       <key>Magnets</key>
+                       <array>
+                               <string>{0, 1}</string>
+                               <string>{0, -1}</string>
+                               <string>{1, 0}</string>
+                               <string>{-1, 0}</string>
+                       </array>
+                       <key>Shape</key>
+                       <string>Diamond</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc
+
+\f0\fs22 \cf0 Job 1}</string>
+                               <key>VerticalPad</key>
+                               <integer>0</integer>
+                       </dict>
+               </dict>
+       </array>
+       <key>GridInfo</key>
+       <dict/>
+       <key>GuidesLocked</key>
+       <string>NO</string>
+       <key>GuidesVisible</key>
+       <string>YES</string>
+       <key>HPages</key>
+       <integer>1</integer>
+       <key>ImageCounter</key>
+       <integer>1</integer>
+       <key>KeepToScale</key>
+       <false/>
+       <key>Layers</key>
+       <array>
+               <dict>
+                       <key>Lock</key>
+                       <string>NO</string>
+                       <key>Name</key>
+                       <string>Layer 1</string>
+                       <key>Print</key>
+                       <string>YES</string>
+                       <key>View</key>
+                       <string>YES</string>
+               </dict>
+       </array>
+       <key>LayoutInfo</key>
+       <dict>
+               <key>Animate</key>
+               <string>NO</string>
+               <key>circoMinDist</key>
+               <real>18</real>
+               <key>circoSeparation</key>
+               <real>0.0</real>
+               <key>layoutEngine</key>
+               <string>dot</string>
+               <key>neatoSeparation</key>
+               <real>0.0</real>
+               <key>twopiSeparation</key>
+               <real>0.0</real>
+       </dict>
+       <key>LinksVisible</key>
+       <string>NO</string>
+       <key>MagnetsVisible</key>
+       <string>NO</string>
+       <key>MasterSheets</key>
+       <array/>
+       <key>ModificationDate</key>
+       <string>2013-07-28 23:08:05 +0000</string>
+       <key>Modifier</key>
+       <string>Jay Kreps</string>
+       <key>NotesVisible</key>
+       <string>NO</string>
+       <key>Orientation</key>
+       <integer>2</integer>
+       <key>OriginVisible</key>
+       <string>NO</string>
+       <key>PageBreaks</key>
+       <string>YES</string>
+       <key>PrintInfo</key>
+       <dict>
+               <key>NSBottomMargin</key>
+               <array>
+                       <string>float</string>
+                       <string>41</string>
+               </array>
+               <key>NSHorizonalPagination</key>
+               <array>
+                       <string>coded</string>
+                       <string>BAtzdHJlYW10eXBlZIHoA4QBQISEhAhOU051bWJlcgCEhAdOU1ZhbHVlAISECE5TT2JqZWN0AIWEASqEhAFxlwCG</string>
+               </array>
+               <key>NSLeftMargin</key>
+               <array>
+                       <string>float</string>
+                       <string>18</string>
+               </array>
+               <key>NSPaperSize</key>
+               <array>
+                       <string>size</string>
+                       <string>{612.00002479553223, 792}</string>
+               </array>
+               <key>NSPrintReverseOrientation</key>
+               <array>
+                       <string>int</string>
+                       <string>0</string>
+               </array>
+               <key>NSRightMargin</key>
+               <array>
+                       <string>float</string>
+                       <string>18</string>
+               </array>
+               <key>NSTopMargin</key>
+               <array>
+                       <string>float</string>
+                       <string>18</string>
+               </array>
+       </dict>
+       <key>PrintOnePage</key>
+       <false/>
+       <key>ReadOnly</key>
+       <string>NO</string>
+       <key>RowAlign</key>
+       <integer>1</integer>
+       <key>RowSpacing</key>
+       <real>36</real>
+       <key>SheetTitle</key>
+       <string>Canvas 1</string>
+       <key>SmartAlignmentGuidesActive</key>
+       <string>YES</string>
+       <key>SmartDistanceGuidesActive</key>
+       <string>YES</string>
+       <key>UniqueID</key>
+       <integer>1</integer>
+       <key>UseEntirePage</key>
+       <false/>
+       <key>VPages</key>
+       <integer>1</integer>
+       <key>WindowInfo</key>
+       <dict>
+               <key>CurrentSheet</key>
+               <integer>0</integer>
+               <key>ExpandedCanvases</key>
+               <array>
+                       <dict>
+                               <key>name</key>
+                               <string>Canvas 1</string>
+                       </dict>
+               </array>
+               <key>Frame</key>
+               <string>{{424, 6}, {711, 872}}</string>
+               <key>ListView</key>
+               <true/>
+               <key>OutlineWidth</key>
+               <integer>142</integer>
+               <key>RightSidebar</key>
+               <false/>
+               <key>ShowRuler</key>
+               <true/>
+               <key>Sidebar</key>
+               <true/>
+               <key>SidebarWidth</key>
+               <integer>120</integer>
+               <key>VisibleRegion</key>
+               <string>{{0, 0}, {576, 733}}</string>
+               <key>Zoom</key>
+               <real>1</real>
+               <key>ZoomValues</key>
+               <array>
+                       <array>
+                               <string>Canvas 1</string>
+                               <real>1</real>
+                               <real>1</real>
+                       </array>
+               </array>
+       </dict>
+</dict>
+</plist>
diff --git a/docs/img/0.7.0/learn/documentation/introduction/dag.png b/docs/img/0.7.0/learn/documentation/introduction/dag.png
new file mode 100644 (file)
index 0000000..bda85b2
Binary files /dev/null and b/docs/img/0.7.0/learn/documentation/introduction/dag.png differ
diff --git a/docs/img/0.7.0/learn/documentation/introduction/group-by-example.png b/docs/img/0.7.0/learn/documentation/introduction/group-by-example.png
new file mode 100644 (file)
index 0000000..1acd355
Binary files /dev/null and b/docs/img/0.7.0/learn/documentation/introduction/group-by-example.png differ
diff --git a/docs/img/0.7.0/learn/documentation/introduction/job.graffle b/docs/img/0.7.0/learn/documentation/introduction/job.graffle
new file mode 100644 (file)
index 0000000..2c5a994
--- /dev/null
@@ -0,0 +1,512 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+       <key>ActiveLayerIndex</key>
+       <integer>0</integer>
+       <key>ApplicationVersion</key>
+       <array>
+               <string>com.omnigroup.OmniGrafflePro.MacAppStore</string>
+               <string>139.18</string>
+       </array>
+       <key>AutoAdjust</key>
+       <true/>
+       <key>BackgroundGraphic</key>
+       <dict>
+               <key>Bounds</key>
+               <string>{{0, 0}, {576.00002479553223, 733}}</string>
+               <key>Class</key>
+               <string>SolidGraphic</string>
+               <key>ID</key>
+               <integer>2</integer>
+               <key>Style</key>
+               <dict>
+                       <key>shadow</key>
+                       <dict>
+                               <key>Draws</key>
+                               <string>NO</string>
+                       </dict>
+                       <key>stroke</key>
+                       <dict>
+                               <key>Draws</key>
+                               <string>NO</string>
+                       </dict>
+               </dict>
+       </dict>
+       <key>BaseZoom</key>
+       <integer>0</integer>
+       <key>CanvasOrigin</key>
+       <string>{0, 0}</string>
+       <key>ColumnAlign</key>
+       <integer>1</integer>
+       <key>ColumnSpacing</key>
+       <real>36</real>
+       <key>CreationDate</key>
+       <string>2013-07-28 22:09:17 +0000</string>
+       <key>Creator</key>
+       <string>Jay Kreps</string>
+       <key>DisplayScale</key>
+       <string>1 0/72 in = 1 0/72 in</string>
+       <key>GraphDocumentVersion</key>
+       <integer>8</integer>
+       <key>GraphicsList</key>
+       <array>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{41, 144}, {81, 14}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>FitText</key>
+                       <string>YES</string>
+                       <key>Flow</key>
+                       <string>Resize</string>
+                       <key>FontInfo</key>
+                       <dict>
+                               <key>Font</key>
+                               <string>Helvetica</string>
+                               <key>Size</key>
+                               <real>12</real>
+                       </dict>
+                       <key>ID</key>
+                       <integer>36</integer>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>fill</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Pad</key>
+                               <integer>0</integer>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
+
+\f0\fs24 \cf0 Ouput Streams}</string>
+                               <key>VerticalPad</key>
+                               <integer>0</integer>
+                       </dict>
+                       <key>Wrap</key>
+                       <string>NO</string>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{47, 21}, {75, 14}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>FitText</key>
+                       <string>YES</string>
+                       <key>Flow</key>
+                       <string>Resize</string>
+                       <key>FontInfo</key>
+                       <dict>
+                               <key>Font</key>
+                               <string>Helvetica</string>
+                               <key>Size</key>
+                               <real>12</real>
+                       </dict>
+                       <key>ID</key>
+                       <integer>35</integer>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>fill</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Pad</key>
+                               <integer>0</integer>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
+
+\f0\fs24 \cf0 Input Streams}</string>
+                               <key>VerticalPad</key>
+                               <integer>0</integer>
+                       </dict>
+                       <key>Wrap</key>
+                       <string>NO</string>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>ID</key>
+                       <integer>34</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{100.76664679221969, 109}</string>
+                               <string>{100.76665277122837, 143}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>ID</key>
+                       <integer>32</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{59.5, 108}</string>
+                               <string>{59.500005979008677, 142}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>19</integer>
+                               <key>Info</key>
+                               <integer>3</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>23</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{99.5, 38}</string>
+                               <string>{100.00000220537189, 71}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>19</integer>
+                               <key>Info</key>
+                               <integer>2</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>22</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{81.5, 37}</string>
+                               <string>{81.500001470248037, 71}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>19</integer>
+                               <key>Info</key>
+                               <integer>1</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>21</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{63.5, 37}</string>
+                               <string>{63.000000275671482, 71}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{44.5, 71}, {74, 37}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>ID</key>
+                       <integer>19</integer>
+                       <key>Magnets</key>
+                       <array>
+                               <string>{-0.59628479784302701, -1.1925696134567261}</string>
+                               <string>{1.9868216701487083e-08, -1.3333333730697632}</string>
+                               <string>{0.59628487781105233, -1.1925696134567261}</string>
+                               <string>{1.1925696134567272, -0.59628480672836304}</string>
+                               <string>{1.3333333730697643, 1.5894572413799324e-07}</string>
+                               <string>{1.1925696134567272, 0.59628473564567486}</string>
+                               <string>{0.59628465308492307, 1.1925697326660156}</string>
+                               <string>{1.1842379282265398e-15, 1.3333333730697632}</string>
+                               <string>{-0.5962849488937394, 1.1925696134567261}</string>
+                               <string>{-1.1925697326660152, 0.5962844398368361}</string>
+                               <string>{-1.3333333730697625, -6.3578289655197295e-07}</string>
+                               <string>{-1.1925696134567256, -0.59628480672836304}</string>
+                       </array>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc
+
+\f0\fs28 \cf0 Samza \
+Job}</string>
+                               <key>VerticalPad</key>
+                               <integer>0</integer>
+                       </dict>
+               </dict>
+       </array>
+       <key>GridInfo</key>
+       <dict/>
+       <key>GuidesLocked</key>
+       <string>NO</string>
+       <key>GuidesVisible</key>
+       <string>YES</string>
+       <key>HPages</key>
+       <integer>1</integer>
+       <key>ImageCounter</key>
+       <integer>1</integer>
+       <key>KeepToScale</key>
+       <false/>
+       <key>Layers</key>
+       <array>
+               <dict>
+                       <key>Lock</key>
+                       <string>NO</string>
+                       <key>Name</key>
+                       <string>Layer 1</string>
+                       <key>Print</key>
+                       <string>YES</string>
+                       <key>View</key>
+                       <string>YES</string>
+               </dict>
+       </array>
+       <key>LayoutInfo</key>
+       <dict>
+               <key>Animate</key>
+               <string>NO</string>
+               <key>circoMinDist</key>
+               <real>18</real>
+               <key>circoSeparation</key>
+               <real>0.0</real>
+               <key>layoutEngine</key>
+               <string>dot</string>
+               <key>neatoSeparation</key>
+               <real>0.0</real>
+               <key>twopiSeparation</key>
+               <real>0.0</real>
+       </dict>
+       <key>LinksVisible</key>
+       <string>NO</string>
+       <key>MagnetsVisible</key>
+       <string>NO</string>
+       <key>MasterSheets</key>
+       <array/>
+       <key>ModificationDate</key>
+       <string>2013-07-28 22:21:28 +0000</string>
+       <key>Modifier</key>
+       <string>Jay Kreps</string>
+       <key>NotesVisible</key>
+       <string>NO</string>
+       <key>Orientation</key>
+       <integer>2</integer>
+       <key>OriginVisible</key>
+       <string>NO</string>
+       <key>PageBreaks</key>
+       <string>YES</string>
+       <key>PrintInfo</key>
+       <dict>
+               <key>NSBottomMargin</key>
+               <array>
+                       <string>float</string>
+                       <string>41</string>
+               </array>
+               <key>NSHorizonalPagination</key>
+               <array>
+                       <string>coded</string>
+                       <string>BAtzdHJlYW10eXBlZIHoA4QBQISEhAhOU051bWJlcgCEhAdOU1ZhbHVlAISECE5TT2JqZWN0AIWEASqEhAFxlwCG</string>
+               </array>
+               <key>NSLeftMargin</key>
+               <array>
+                       <string>float</string>
+                       <string>18</string>
+               </array>
+               <key>NSPaperSize</key>
+               <array>
+                       <string>size</string>
+                       <string>{612.00002479553223, 792}</string>
+               </array>
+               <key>NSPrintReverseOrientation</key>
+               <array>
+                       <string>int</string>
+                       <string>0</string>
+               </array>
+               <key>NSRightMargin</key>
+               <array>
+                       <string>float</string>
+                       <string>18</string>
+               </array>
+               <key>NSTopMargin</key>
+               <array>
+                       <string>float</string>
+                       <string>18</string>
+               </array>
+       </dict>
+       <key>PrintOnePage</key>
+       <false/>
+       <key>ReadOnly</key>
+       <string>NO</string>
+       <key>RowAlign</key>
+       <integer>1</integer>
+       <key>RowSpacing</key>
+       <real>36</real>
+       <key>SheetTitle</key>
+       <string>Canvas 1</string>
+       <key>SmartAlignmentGuidesActive</key>
+       <string>YES</string>
+       <key>SmartDistanceGuidesActive</key>
+       <string>YES</string>
+       <key>UniqueID</key>
+       <integer>1</integer>
+       <key>UseEntirePage</key>
+       <false/>
+       <key>VPages</key>
+       <integer>1</integer>
+       <key>WindowInfo</key>
+       <dict>
+               <key>CurrentSheet</key>
+               <integer>0</integer>
+               <key>ExpandedCanvases</key>
+               <array>
+                       <dict>
+                               <key>name</key>
+                               <string>Canvas 1</string>
+                       </dict>
+               </array>
+               <key>Frame</key>
+               <string>{{364, 6}, {711, 872}}</string>
+               <key>ListView</key>
+               <true/>
+               <key>OutlineWidth</key>
+               <integer>142</integer>
+               <key>RightSidebar</key>
+               <false/>
+               <key>ShowRuler</key>
+               <true/>
+               <key>Sidebar</key>
+               <true/>
+               <key>SidebarWidth</key>
+               <integer>120</integer>
+               <key>VisibleRegion</key>
+               <string>{{0, 0}, {576, 733}}</string>
+               <key>Zoom</key>
+               <real>1</real>
+               <key>ZoomValues</key>
+               <array>
+                       <array>
+                               <string>Canvas 1</string>
+                               <real>1</real>
+                               <real>1</real>
+                       </array>
+               </array>
+       </dict>
+</dict>
+</plist>
diff --git a/docs/img/0.7.0/learn/documentation/introduction/job.png b/docs/img/0.7.0/learn/documentation/introduction/job.png
new file mode 100644 (file)
index 0000000..4a90b8c
Binary files /dev/null and b/docs/img/0.7.0/learn/documentation/introduction/job.png differ
diff --git a/docs/img/0.7.0/learn/documentation/introduction/job_detail.graffle b/docs/img/0.7.0/learn/documentation/introduction/job_detail.graffle
new file mode 100644 (file)
index 0000000..1583d55
--- /dev/null
@@ -0,0 +1,1320 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+       <key>ActiveLayerIndex</key>
+       <integer>0</integer>
+       <key>ApplicationVersion</key>
+       <array>
+               <string>com.omnigroup.OmniGrafflePro.MacAppStore</string>
+               <string>139.18</string>
+       </array>
+       <key>AutoAdjust</key>
+       <true/>
+       <key>BackgroundGraphic</key>
+       <dict>
+               <key>Bounds</key>
+               <string>{{0, 0}, {576.00002479553223, 733}}</string>
+               <key>Class</key>
+               <string>SolidGraphic</string>
+               <key>ID</key>
+               <integer>2</integer>
+               <key>Style</key>
+               <dict>
+                       <key>shadow</key>
+                       <dict>
+                               <key>Draws</key>
+                               <string>NO</string>
+                       </dict>
+                       <key>stroke</key>
+                       <dict>
+                               <key>Draws</key>
+                               <string>NO</string>
+                       </dict>
+               </dict>
+       </dict>
+       <key>BaseZoom</key>
+       <integer>0</integer>
+       <key>CanvasOrigin</key>
+       <string>{0, 0}</string>
+       <key>ColumnAlign</key>
+       <integer>1</integer>
+       <key>ColumnSpacing</key>
+       <real>36</real>
+       <key>CreationDate</key>
+       <string>2013-07-28 22:34:27 +0000</string>
+       <key>Creator</key>
+       <string>Jay Kreps</string>
+       <key>DisplayScale</key>
+       <string>1 0/72 in = 1 0/72 in</string>
+       <key>GraphDocumentVersion</key>
+       <integer>8</integer>
+       <key>GraphicsList</key>
+       <array>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{59.583091735839844, 17}, {71, 17}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>FitText</key>
+                       <string>YES</string>
+                       <key>Flow</key>
+                       <string>Resize</string>
+                       <key>FontInfo</key>
+                       <dict>
+                               <key>Font</key>
+                               <string>Helvetica</string>
+                               <key>Size</key>
+                               <real>12</real>
+                       </dict>
+                       <key>ID</key>
+                       <integer>59</integer>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>fill</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Pad</key>
+                               <integer>0</integer>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
+
+\f0\fs28 \cf0 Samza Job}</string>
+                               <key>VerticalPad</key>
+                               <integer>0</integer>
+                       </dict>
+                       <key>Wrap</key>
+                       <string>NO</string>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{101.5, 113.67618703842163}, {53, 34}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>ID</key>
+                       <integer>38</integer>
+                       <key>Magnets</key>
+                       <array>
+                               <string>{-0.59628479784302701, -1.1925696134567261}</string>
+                               <string>{1.9868216701487083e-08, -1.3333333730697632}</string>
+                               <string>{0.59628487781105233, -1.1925696134567261}</string>
+                               <string>{1.1925696134567272, -0.59628480672836304}</string>
+                               <string>{1.3333333730697643, 1.5894572413799324e-07}</string>
+                               <string>{1.1925696134567272, 0.59628473564567486}</string>
+                               <string>{0.59628465308492307, 1.1925697326660156}</string>
+                               <string>{1.1842379282265398e-15, 1.3333333730697632}</string>
+                               <string>{-0.5962849488937394, 1.1925696134567261}</string>
+                               <string>{-1.1925697326660152, 0.5962844398368361}</string>
+                               <string>{-1.3333333730697625, -6.3578289655197295e-07}</string>
+                               <string>{-1.1925696134567256, -0.59628480672836304}</string>
+                       </array>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc
+
+\f0\fs20 \cf0 Task 2}</string>
+                               <key>VerticalPad</key>
+                               <integer>0</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{126.51412229515523, 156.70258726469865}, {8, 14}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>FitText</key>
+                       <string>YES</string>
+                       <key>Flow</key>
+                       <string>Resize</string>
+                       <key>FontInfo</key>
+                       <dict>
+                               <key>Color</key>
+                               <dict>
+                                       <key>w</key>
+                                       <string>0</string>
+                               </dict>
+                               <key>Font</key>
+                               <string>Helvetica-Light</string>
+                               <key>Size</key>
+                               <real>10</real>
+                       </dict>
+                       <key>ID</key>
+                       <integer>53</integer>
+                       <key>Line</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>51</integer>
+                               <key>Position</key>
+                               <real>0.37774357199668884</real>
+                               <key>RotationType</key>
+                               <integer>0</integer>
+                       </dict>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Pad</key>
+                               <integer>1</integer>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
+
+\f0\fs20 \cf0 1}</string>
+                               <key>VerticalPad</key>
+                               <integer>1</integer>
+                       </dict>
+                       <key>Wrap</key>
+                       <string>NO</string>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{102.02543265311756, 155.54622220993042}, {8, 14}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>FitText</key>
+                       <string>YES</string>
+                       <key>Flow</key>
+                       <string>Resize</string>
+                       <key>FontInfo</key>
+                       <dict>
+                               <key>Color</key>
+                               <dict>
+                                       <key>w</key>
+                                       <string>0</string>
+                               </dict>
+                               <key>Font</key>
+                               <string>Helvetica-Light</string>
+                               <key>Size</key>
+                               <real>10</real>
+                       </dict>
+                       <key>ID</key>
+                       <integer>52</integer>
+                       <key>Line</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>50</integer>
+                               <key>Position</key>
+                               <real>0.30659866333007812</real>
+                               <key>RotationType</key>
+                               <integer>0</integer>
+                       </dict>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Pad</key>
+                               <integer>1</integer>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
+
+\f0\fs20 \cf0 0}</string>
+                               <key>VerticalPad</key>
+                               <integer>1</integer>
+                       </dict>
+                       <key>Wrap</key>
+                       <string>NO</string>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>ID</key>
+                       <integer>51</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{142.95187377929688, 143.38228750228882}</string>
+                               <string>{110.02543265311758, 197.17618703842163}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>ID</key>
+                       <integer>50</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{114.74999684095383, 147.67618703842163}</string>
+                               <string>{86.294020898085591, 196.17618703842163}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+                       <key>Tail</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>38</integer>
+                               <key>Info</key>
+                               <integer>9</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{83.310078640505097, 156.09778326749802}, {8, 14}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>FitText</key>
+                       <string>YES</string>
+                       <key>Flow</key>
+                       <string>Resize</string>
+                       <key>FontInfo</key>
+                       <dict>
+                               <key>Color</key>
+                               <dict>
+                                       <key>w</key>
+                                       <string>0</string>
+                               </dict>
+                               <key>Font</key>
+                               <string>Helvetica-Light</string>
+                               <key>Size</key>
+                               <real>10</real>
+                       </dict>
+                       <key>ID</key>
+                       <integer>49</integer>
+                       <key>Line</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>47</integer>
+                               <key>Position</key>
+                               <real>0.31154739856719971</real>
+                               <key>RotationType</key>
+                               <integer>0</integer>
+                       </dict>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Pad</key>
+                               <integer>1</integer>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
+
+\f0\fs20 \cf0 1}</string>
+                               <key>VerticalPad</key>
+                               <integer>1</integer>
+                       </dict>
+                       <key>Wrap</key>
+                       <string>NO</string>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{59.583090066240111, 154.42674145102501}, {8, 14}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>FitText</key>
+                       <string>YES</string>
+                       <key>Flow</key>
+                       <string>Resize</string>
+                       <key>FontInfo</key>
+                       <dict>
+                               <key>Color</key>
+                               <dict>
+                                       <key>w</key>
+                                       <string>0</string>
+                               </dict>
+                               <key>Font</key>
+                               <string>Helvetica-Light</string>
+                               <key>Size</key>
+                               <real>10</real>
+                       </dict>
+                       <key>ID</key>
+                       <integer>48</integer>
+                       <key>Line</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>32</integer>
+                               <key>Position</key>
+                               <real>0.28351658582687378</real>
+                               <key>RotationType</key>
+                               <integer>0</integer>
+                       </dict>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Pad</key>
+                               <integer>1</integer>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
+
+\f0\fs20 \cf0 0}</string>
+                               <key>VerticalPad</key>
+                               <integer>1</integer>
+                       </dict>
+                       <key>Wrap</key>
+                       <string>NO</string>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>ID</key>
+                       <integer>47</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{78.249995261430769, 147.67618703842163}</string>
+                               <string>{107.33091014225297, 197.17618703842163}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+                       <key>Tail</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>37</integer>
+                               <key>Info</key>
+                               <integer>7</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{74.999992370605469, 197.17618703842163}, {46, 26}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>FitText</key>
+                       <string>YES</string>
+                       <key>Flow</key>
+                       <string>Resize</string>
+                       <key>FontInfo</key>
+                       <dict>
+                               <key>Font</key>
+                               <string>Helvetica</string>
+                               <key>Size</key>
+                               <real>12</real>
+                       </dict>
+                       <key>ID</key>
+                       <integer>46</integer>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Pad</key>
+                               <integer>0</integer>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
+
+\f0\fs22 \cf0 Output \
+Stream C}</string>
+                               <key>VerticalPad</key>
+                               <integer>0</integer>
+                       </dict>
+                       <key>Wrap</key>
+                       <string>NO</string>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{137.96903325656112, 78.093316394752037}, {8, 14}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>FitText</key>
+                       <string>YES</string>
+                       <key>Flow</key>
+                       <string>Resize</string>
+                       <key>FontInfo</key>
+                       <dict>
+                               <key>Color</key>
+                               <dict>
+                                       <key>w</key>
+                                       <string>0</string>
+                               </dict>
+                               <key>Font</key>
+                               <string>Helvetica-Light</string>
+                               <key>Size</key>
+                               <real>10</real>
+                       </dict>
+                       <key>ID</key>
+                       <integer>45</integer>
+                       <key>Line</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>42</integer>
+                               <key>Position</key>
+                               <real>0.4247739315032959</real>
+                               <key>RotationType</key>
+                               <integer>0</integer>
+                       </dict>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Pad</key>
+                               <integer>1</integer>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
+
+\f0\fs20 \cf0 1}</string>
+                               <key>VerticalPad</key>
+                               <integer>1</integer>
+                       </dict>
+                       <key>Wrap</key>
+                       <string>NO</string>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{106.55560185205636, 77.46781401806038}, {8, 14}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>FitText</key>
+                       <string>YES</string>
+                       <key>Flow</key>
+                       <string>Resize</string>
+                       <key>FontInfo</key>
+                       <dict>
+                               <key>Color</key>
+                               <dict>
+                                       <key>w</key>
+                                       <string>0</string>
+                               </dict>
+                               <key>Font</key>
+                               <string>Helvetica-Light</string>
+                               <key>Size</key>
+                               <real>10</real>
+                       </dict>
+                       <key>ID</key>
+                       <integer>44</integer>
+                       <key>Line</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>41</integer>
+                               <key>Position</key>
+                               <real>0.41218578815460205</real>
+                               <key>RotationType</key>
+                               <integer>0</integer>
+                       </dict>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Pad</key>
+                               <integer>1</integer>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
+
+\f0\fs20 \cf0 0}</string>
+                               <key>VerticalPad</key>
+                               <integer>1</integer>
+                       </dict>
+                       <key>Wrap</key>
+                       <string>NO</string>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{115.5, 41.796580791473389}, {46, 26}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>FitText</key>
+                       <string>YES</string>
+                       <key>Flow</key>
+                       <string>Resize</string>
+                       <key>FontInfo</key>
+                       <dict>
+                               <key>Font</key>
+                               <string>Helvetica</string>
+                               <key>Size</key>
+                               <real>12</real>
+                       </dict>
+                       <key>ID</key>
+                       <integer>43</integer>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Pad</key>
+                               <integer>0</integer>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
+
+\f0\fs22 \cf0 Input \
+Stream B}</string>
+                               <key>VerticalPad</key>
+                               <integer>0</integer>
+                       </dict>
+                       <key>Wrap</key>
+                       <string>NO</string>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>38</integer>
+                               <key>Info</key>
+                               <integer>3</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>42</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{142.5, 63.986382961273193}</string>
+                               <string>{141.25000157952311, 113.67618703842163}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>37</integer>
+                               <key>Info</key>
+                               <integer>2</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>41</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{142.5, 63.986382961273193}</string>
+                               <string>{65.000001053015481, 113.67618703842163}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+                       <key>Tail</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>42</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{72.487797844925495, 76.103014686803647}, {8, 14}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>FitText</key>
+                       <string>YES</string>
+                       <key>Flow</key>
+                       <string>Resize</string>
+                       <key>FontInfo</key>
+                       <dict>
+                               <key>Color</key>
+                               <dict>
+                                       <key>w</key>
+                                       <string>0</string>
+                               </dict>
+                               <key>Font</key>
+                               <string>Helvetica-Light</string>
+                               <key>Size</key>
+                               <real>10</real>
+                       </dict>
+                       <key>ID</key>
+                       <integer>40</integer>
+                       <key>Line</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>22</integer>
+                               <key>Position</key>
+                               <real>0.39506399631500244</real>
+                               <key>RotationType</key>
+                               <integer>0</integer>
+                       </dict>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Pad</key>
+                               <integer>1</integer>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
+
+\f0\fs20 \cf0 1}</string>
+                               <key>VerticalPad</key>
+                               <integer>1</integer>
+                       </dict>
+                       <key>Wrap</key>
+                       <string>NO</string>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{47.596244023754139, 75.593161679834566}, {8, 14}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>FitText</key>
+                       <string>YES</string>
+                       <key>Flow</key>
+                       <string>Resize</string>
+                       <key>FontInfo</key>
+                       <dict>
+                               <key>Color</key>
+                               <dict>
+                                       <key>w</key>
+                                       <string>0</string>
+                               </dict>
+                               <key>Font</key>
+                               <string>Helvetica-Light</string>
+                               <key>Size</key>
+                               <real>10</real>
+                       </dict>
+                       <key>ID</key>
+                       <integer>39</integer>
+                       <key>Line</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>21</integer>
+                               <key>Position</key>
+                               <real>0.38497579097747803</real>
+                               <key>RotationType</key>
+                               <integer>0</integer>
+                       </dict>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Pad</key>
+                               <integer>1</integer>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
+
+\f0\fs20 \cf0 0}</string>
+                               <key>VerticalPad</key>
+                               <integer>1</integer>
+                       </dict>
+                       <key>Wrap</key>
+                       <string>NO</string>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{38.5, 113.67618703842163}, {53, 34}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>ID</key>
+                       <integer>37</integer>
+                       <key>Magnets</key>
+                       <array>
+                               <string>{-0.59628479784302701, -1.1925696134567261}</string>
+                               <string>{1.9868216701487083e-08, -1.3333333730697632}</string>
+                               <string>{0.59628487781105233, -1.1925696134567261}</string>
+                               <string>{1.1925696134567272, -0.59628480672836304}</string>
+                               <string>{1.3333333730697643, 1.5894572413799324e-07}</string>
+                               <string>{1.1925696134567272, 0.59628473564567486}</string>
+                               <string>{0.59628465308492307, 1.1925697326660156}</string>
+                               <string>{1.1842379282265398e-15, 1.3333333730697632}</string>
+                               <string>{-0.5962849488937394, 1.1925696134567261}</string>
+                               <string>{-1.1925697326660152, 0.5962844398368361}</string>
+                               <string>{-1.3333333730697625, -6.3578289655197295e-07}</string>
+                               <string>{-1.1925696134567256, -0.59628480672836304}</string>
+                       </array>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc
+
+\f0\fs20 \cf0 Task 1}</string>
+                               <key>VerticalPad</key>
+                               <integer>0</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{28.596244812011719, 41.796580791473389}, {46, 26}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>FitText</key>
+                       <string>YES</string>
+                       <key>Flow</key>
+                       <string>Resize</string>
+                       <key>FontInfo</key>
+                       <dict>
+                               <key>Font</key>
+                               <string>Helvetica</string>
+                               <key>Size</key>
+                               <real>12</real>
+                       </dict>
+                       <key>ID</key>
+                       <integer>35</integer>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Pad</key>
+                               <integer>0</integer>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica-Light;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
+
+\f0\fs22 \cf0 Input \
+Stream A}</string>
+                               <key>VerticalPad</key>
+                               <integer>0</integer>
+                       </dict>
+                       <key>Wrap</key>
+                       <string>NO</string>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>50</integer>
+                               <key>Info</key>
+                               <integer>1</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>32</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{54.596244812011719, 147.67618703842163}</string>
+                               <string>{86.294020898085591, 196.17618703842163}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>38</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>22</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{51.5, 63.136671841144562}</string>
+                               <string>{114.75000019744039, 113.67618703842163}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+                       <key>Tail</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>21</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>37</integer>
+                               <key>Info</key>
+                               <integer>1</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>21</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{51.5, 63.136671841144562}</string>
+                               <string>{51.750000197440386, 113.67618703842163}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>StickArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{25, 96.176187038421631}, {136.5, 67}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>ID</key>
+                       <integer>19</integer>
+                       <key>Magnets</key>
+                       <array>
+                               <string>{-0.59628479784302701, -1.1925696134567261}</string>
+                               <string>{1.9868216701487083e-08, -1.3333333730697632}</string>
+                               <string>{0.59628487781105233, -1.1925696134567261}</string>
+                               <string>{1.1925696134567272, -0.59628480672836304}</string>
+                               <string>{1.3333333730697643, 1.5894572413799324e-07}</string>
+                               <string>{1.1925696134567272, 0.59628473564567486}</string>
+                               <string>{0.59628465308492307, 1.1925697326660156}</string>
+                               <string>{1.1842379282265398e-15, 1.3333333730697632}</string>
+                               <string>{-0.5962849488937394, 1.1925696134567261}</string>
+                               <string>{-1.1925697326660152, 0.5962844398368361}</string>
+                               <string>{-1.3333333730697625, -6.3578289655197295e-07}</string>
+                               <string>{-1.1925696134567256, -0.59628480672836304}</string>
+                       </array>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>Pattern</key>
+                                       <integer>1</integer>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>VerticalPad</key>
+                               <integer>0</integer>
+                       </dict>
+               </dict>
+       </array>
+       <key>GridInfo</key>
+       <dict/>
+       <key>GuidesLocked</key>
+       <string>NO</string>
+       <key>GuidesVisible</key>
+       <string>YES</string>
+       <key>HPages</key>
+       <integer>1</integer>
+       <key>ImageCounter</key>
+       <integer>1</integer>
+       <key>KeepToScale</key>
+       <false/>
+       <key>Layers</key>
+       <array>
+               <dict>
+                       <key>Lock</key>
+                       <string>NO</string>
+                       <key>Name</key>
+                       <string>Layer 1</string>
+                       <key>Print</key>
+                       <string>YES</string>
+                       <key>View</key>
+                       <string>YES</string>
+               </dict>
+       </array>
+       <key>LayoutInfo</key>
+       <dict>
+               <key>Animate</key>
+               <string>NO</string>
+               <key>circoMinDist</key>
+               <real>18</real>
+               <key>circoSeparation</key>
+               <real>0.0</real>
+               <key>layoutEngine</key>
+               <string>dot</string>
+               <key>neatoSeparation</key>
+               <real>0.0</real>
+               <key>twopiSeparation</key>
+               <real>0.0</real>
+       </dict>
+       <key>LinksVisible</key>
+       <string>NO</string>
+       <key>MagnetsVisible</key>
+       <string>NO</string>
+       <key>MasterSheets</key>
+       <array/>
+       <key>ModificationDate</key>
+       <string>2013-07-28 22:49:23 +0000</string>
+       <key>Modifier</key>
+       <string>Jay Kreps</string>
+       <key>NotesVisible</key>
+       <string>NO</string>
+       <key>Orientation</key>
+       <integer>2</integer>
+       <key>OriginVisible</key>
+       <string>NO</string>
+       <key>PageBreaks</key>
+       <string>YES</string>
+       <key>PrintInfo</key>
+       <dict>
+               <key>NSBottomMargin</key>
+               <array>
+                       <string>float</string>
+                       <string>41</string>
+               </array>
+               <key>NSHorizonalPagination</key>
+               <array>
+                       <string>coded</string>
+                       <string>BAtzdHJlYW10eXBlZIHoA4QBQISEhAhOU051bWJlcgCEhAdOU1ZhbHVlAISECE5TT2JqZWN0AIWEASqEhAFxlwCG</string>
+               </array>
+               <key>NSLeftMargin</key>
+               <array>
+                       <string>float</string>
+                       <string>18</string>
+               </array>
+               <key>NSPaperSize</key>
+               <array>
+                       <string>size</string>
+                       <string>{612.00002479553223, 792}</string>
+               </array>
+               <key>NSPrintReverseOrientation</key>
+               <array>
+                       <string>int</string>
+                       <string>0</string>
+               </array>
+               <key>NSRightMargin</key>
+               <array>
+                       <string>float</string>
+                       <string>18</string>
+               </array>
+               <key>NSTopMargin</key>
+               <array>
+                       <string>float</string>
+                       <string>18</string>
+               </array>
+       </dict>
+       <key>PrintOnePage</key>
+       <false/>
+       <key>ReadOnly</key>
+       <string>NO</string>
+       <key>RowAlign</key>
+       <integer>1</integer>
+       <key>RowSpacing</key>
+       <real>36</real>
+       <key>SheetTitle</key>
+       <string>Canvas 1</string>
+       <key>SmartAlignmentGuidesActive</key>
+       <string>YES</string>
+       <key>SmartDistanceGuidesActive</key>
+       <string>YES</string>
+       <key>UniqueID</key>
+       <integer>1</integer>
+       <key>UseEntirePage</key>
+       <false/>
+       <key>VPages</key>
+       <integer>1</integer>
+       <key>WindowInfo</key>
+       <dict>
+               <key>CurrentSheet</key>
+               <integer>0</integer>
+               <key>ExpandedCanvases</key>
+               <array>
+                       <dict>
+                               <key>name</key>
+                               <string>Canvas 1</string>
+                       </dict>
+               </array>
+               <key>Frame</key>
+               <string>{{706, 6}, {711, 872}}</string>
+               <key>ListView</key>
+               <true/>
+               <key>OutlineWidth</key>
+               <integer>142</integer>
+               <key>RightSidebar</key>
+               <false/>
+               <key>ShowRuler</key>
+               <true/>
+               <key>Sidebar</key>
+               <true/>
+               <key>SidebarWidth</key>
+               <integer>120</integer>
+               <key>VisibleRegion</key>
+               <string>{{0, 0}, {576, 733}}</string>
+               <key>Zoom</key>
+               <real>1</real>
+               <key>ZoomValues</key>
+               <array>
+                       <array>
+                               <string>Canvas 1</string>
+                               <real>1</real>
+                               <real>1</real>
+                       </array>
+               </array>
+       </dict>
+</dict>
+</plist>
diff --git a/docs/img/0.7.0/learn/documentation/introduction/job_detail.png b/docs/img/0.7.0/learn/documentation/introduction/job_detail.png
new file mode 100644 (file)
index 0000000..31f6707
Binary files /dev/null and b/docs/img/0.7.0/learn/documentation/introduction/job_detail.png differ
diff --git a/docs/img/0.7.0/learn/documentation/introduction/samza-ecosystem.png b/docs/img/0.7.0/learn/documentation/introduction/samza-ecosystem.png
new file mode 100644 (file)
index 0000000..4eb9f33
Binary files /dev/null and b/docs/img/0.7.0/learn/documentation/introduction/samza-ecosystem.png differ
diff --git a/docs/img/0.7.0/learn/documentation/introduction/samza-hadoop.png b/docs/img/0.7.0/learn/documentation/introduction/samza-hadoop.png
new file mode 100644 (file)
index 0000000..2142f94
Binary files /dev/null and b/docs/img/0.7.0/learn/documentation/introduction/samza-hadoop.png differ
diff --git a/docs/img/0.7.0/learn/documentation/introduction/samza-yarn-integration.png b/docs/img/0.7.0/learn/documentation/introduction/samza-yarn-integration.png
new file mode 100644 (file)
index 0000000..2748713
Binary files /dev/null and b/docs/img/0.7.0/learn/documentation/introduction/samza-yarn-integration.png differ
diff --git a/docs/img/0.7.0/learn/documentation/introduction/samza-yarn-kafka-integration.png b/docs/img/0.7.0/learn/documentation/introduction/samza-yarn-kafka-integration.png
new file mode 100644 (file)
index 0000000..c897499
Binary files /dev/null and b/docs/img/0.7.0/learn/documentation/introduction/samza-yarn-kafka-integration.png differ
diff --git a/docs/img/0.7.0/learn/documentation/introduction/samza_state.graffle b/docs/img/0.7.0/learn/documentation/introduction/samza_state.graffle
new file mode 100644 (file)
index 0000000..2427ce3
--- /dev/null
@@ -0,0 +1,1654 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+       <key>ActiveLayerIndex</key>
+       <integer>0</integer>
+       <key>ApplicationVersion</key>
+       <array>
+               <string>com.omnigroup.OmniGrafflePro.MacAppStore</string>
+               <string>139.18</string>
+       </array>
+       <key>AutoAdjust</key>
+       <true/>
+       <key>BackgroundGraphic</key>
+       <dict>
+               <key>Bounds</key>
+               <string>{{0, 0}, {576.00002479553223, 733}}</string>
+               <key>Class</key>
+               <string>SolidGraphic</string>
+               <key>ID</key>
+               <integer>2</integer>
+               <key>Style</key>
+               <dict>
+                       <key>shadow</key>
+                       <dict>
+                               <key>Draws</key>
+                               <string>NO</string>
+                       </dict>
+                       <key>stroke</key>
+                       <dict>
+                               <key>Draws</key>
+                               <string>NO</string>
+                       </dict>
+               </dict>
+       </dict>
+       <key>BaseZoom</key>
+       <integer>0</integer>
+       <key>CanvasOrigin</key>
+       <string>{0, 0}</string>
+       <key>ColumnAlign</key>
+       <integer>1</integer>
+       <key>ColumnSpacing</key>
+       <real>36</real>
+       <key>CreationDate</key>
+       <string>2013-07-24 20:59:23 +0000</string>
+       <key>Creator</key>
+       <string>Jay Kreps</string>
+       <key>DisplayScale</key>
+       <string>1 0/72 in = 1 0/72 in</string>
+       <key>GraphDocumentVersion</key>
+       <integer>8</integer>
+       <key>GraphicsList</key>
+       <array>
+               <dict>
+                       <key>Bounds</key>
+                       <string>{{354.00000274926424, 96.386200297623873}, {56, 16}}</string>
+                       <key>Class</key>
+                       <string>ShapedGraphic</string>
+                       <key>FitText</key>
+                       <string>YES</string>
+                       <key>Flow</key>
+                       <string>Resize</string>
+                       <key>FontInfo</key>
+                       <dict>
+                               <key>Color</key>
+                               <dict>
+                                       <key>w</key>
+                                       <string>0</string>
+                               </dict>
+                               <key>Font</key>
+                               <string>Helvetica</string>
+                               <key>Size</key>
+                               <real>10</real>
+                       </dict>
+                       <key>ID</key>
+                       <integer>50</integer>
+                       <key>Shape</key>
+                       <string>Rectangle</string>
+                       <key>Style</key>
+                       <dict>
+                               <key>shadow</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>Draws</key>
+                                       <string>NO</string>
+                               </dict>
+                       </dict>
+                       <key>Text</key>
+                       <dict>
+                               <key>Pad</key>
+                               <integer>2</integer>
+                               <key>Text</key>
+                               <string>{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
+\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
+{\colortbl;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
+
+\f0\fs20 \cf0 DB Queries}</string>
+                               <key>VerticalPad</key>
+                               <integer>2</integer>
+                       </dict>
+                       <key>Wrap</key>
+                       <string>NO</string>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>32</integer>
+                               <key>Info</key>
+                               <integer>2</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>47</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{375.94502185497402, 143.5769404965329}</string>
+                               <string>{400.50000206194818, 131}</string>
+                               <string>{428.74999985404742, 131}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>FilledArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+                       <key>Tail</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>27</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>32</integer>
+                               <key>Info</key>
+                               <integer>2</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>46</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{317.00000015459955, 138}</string>
+                               <string>{351.50000206194818, 118}</string>
+                               <string>{384.50000206194818, 118}</string>
+                               <string>{429.25000015459955, 131}</string>
+                       </array>
+                       <key>Style</key>
+                       <dict>
+                               <key>stroke</key>
+                               <dict>
+                                       <key>HeadArrow</key>
+                                       <string>FilledArrow</string>
+                                       <key>Legacy</key>
+                                       <true/>
+                                       <key>LineType</key>
+                                       <integer>1</integer>
+                                       <key>TailArrow</key>
+                                       <string>0</string>
+                               </dict>
+                       </dict>
+                       <key>Tail</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>29</integer>
+                               <key>Info</key>
+                               <integer>1</integer>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>Class</key>
+                       <string>LineGraphic</string>
+                       <key>Head</key>
+                       <dict>
+                               <key>ID</key>
+                               <integer>32</integer>
+                               <key>Info</key>
+                               <integer>2</integer>
+                       </dict>
+                       <key>ID</key>
+                       <integer>45</integer>
+                       <key>Points</key>
+                       <array>
+                               <string>{274.95482065734831, 134.82683104667493}</string>
+                               <string>{320.50000206194818, 106}</string>
+                               <string>{382.50000206194818, 108}</string>
+                               <string>{429.25000015459955, 131}</string>
+                       </array>
+   &nbs