klwilson227 opened a new pull request #10246:
URL: https://github.com/apache/pulsar/pull/10246
Add some basic support for testing deduplication feature.
1) Ability to set the producer name in the test client.
2) Ability to set the sendTimeout in the test client.
3) Ability to set the separator used between producername and threadnumber.
As well as the topic and topic number. Defaults to '-'
4) Ability to customize format each payload record if enabled.
- Ability to customize/replace the formatting class which is used.
- DefaultFormatter provided:
- MetaData replacements: %p replaced with producer Name, %t nanoseconds
when replacement occured, %i external messageId
- Other replacements follow java sprintf formatting with %d %s %f %l
with randomly generated strings or numbers.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]