[
https://issues.apache.org/jira/browse/SAMZA-143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Poltak Samosir updated SAMZA-143:
------------------------------------------
Attachment: SAMZA-143-v2.patch
Second patch to apply after first patch.
Updates document to reflect 0.7.0 changes, including {{task.inputs}} parameters
and {{systems.%s.samza.factory}} option.
Also put in example of using two different serde classes for system's key and
message serde.
Updated the explanation at the end to reflect this new example.
> Configuration docs are using 0.6.0 configs
> ------------------------------------------
>
> Key: SAMZA-143
> URL: https://issues.apache.org/jira/browse/SAMZA-143
> Project: Samza
> Issue Type: Bug
> Components: docs
> Affects Versions: 0.6.0
> Reporter: Chris Riccomini
> Labels: newbie
> Attachments: SAMZA-143-v2.patch, SAMZA-143.patch
>
>
> http://samza.incubator.apache.org/learn/documentation/0.7.0/jobs/configuration.html
> is using 0.6.0 style (invalid) configuration as its example in:
> {noformat}
> # Job
> job.factory.class=samza.job.local.LocalJobFactory
> job.name=hello-world
> # Task
> task.class=samza.task.example.MyJavaStreamerTask
> task.inputs=example-stream
> # Serializers
> serializers.registry.json.class=samza.serializers.JsonSerdeFactory
> serializers.default=json
> # Streams
> streams.example-stream.system=example-system
> streams.example-stream.stream=some-stream
> # Systems
> systems.example-system.samza.consumer.factory=samza.stream.example.ExampleConsumerFactory
> systems.example-system.samza.partition.manager=samza.stream.example.ExamplePartitionManager
> {noformat}
> We should update this example to use 0.7.0 style config. There is no longer a
> streams block, and no longer serializers.default. Also, there is no partition
> manager anymore.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)