You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "sandeep-mst (via GitHub)" <gi...@apache.org> on 2025/05/12 08:22:50 UTC
[I] Make Aggregation configurable for KinesisProducers used by KinesisSink [pulsar]
sandeep-mst opened a new issue, #24288:
URL: https://github.com/apache/pulsar/issues/24288
### Search before reporting
- [x] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
### Motivation
The Kinesis Sink currently always enables aggregation of records while producing to the kinesis data streams. This results in records being merged in the final output described [here](https://github.com/awslabs/amazon-kinesis-producer/issues/566). There are use cases like monitoring logs through streams UI and client applications expecting certain record type where this behaviour is not desirable.
### Solution
KinesisProducerConfiguraton provides option to disable aggregation through [setAggregationEnabled](https://github.com/awslabs/amazon-kinesis-producer/blob/706676c8e681f32a1998500b8c6324fb0bf9abdf/java/amazon-kinesis-producer/src/main/java/software/amazon/kinesis/producer/KinesisProducerConfiguration.java#L986) configuration parameter. We can add it to our sink Config and make it configurable.
### Alternatives
_No response_
### Anything else?
_No response_
### Are you willing to submit a PR?
- [x] I'm willing to submit a PR!
--
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: commits-unsubscribe@pulsar.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org