Open IDUN-BogdanPi opened 4 months ago
How do you create the Producer? There's a setting about aggregation that is set to true by default.
You can disable it like so:
KinesisProducerConfiguration config = new KinesisProducerConfiguration().setAggregationEnabled(false);
return new KinesisProducer(config);
Hi,
I am using Kinesis Producer for Java:
This is my send-message code snippet:
The log message produced is:
But this is what it ends up as in Kinesis. The problem seems to appear when sending messages with different partitioning keys. They end up "merged". As you can see in the example below, this should've been 2 distinct json messages.
In the log messages, the partitioning key is correctly:
03eadfed-b2ab-45e8-8b8c-54baa6fd27f3
While on Kinesis it seems to be:a
Any idea what might be the problem?
Thanks for you help!