lhotari commented on pull request #11706:
URL: https://github.com/apache/pulsar/pull/11706#issuecomment-901648992
There's a remaining gotcha with sources. For sources, the `--batch-builder
KEY_BASED` argument isn't used. It is required to use `--producer-config
"{\"batchBuilder\": \"KEY_BASED\"}"`. for example:
```
./bin/pulsar-admin sources create --tenant public --namespace default --name
datagen --destination-topic-name datagen -a builtin://data-generator
--source-config "{\"sleepBetweenMessages\": 1000}" --producer-config
"{\"batchBuilder\": \"KEY_BASED\"}"
```
I wonder if this is a bug or a feature.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]