micronaut-projects / micronaut-kafka

Integration between Micronaut and Apache Kafka
Apache License 2.0
83 stars 104 forks source link

Support for ConsumerRecords container type on batch processing #903

Closed rorueda closed 8 months ago

rorueda commented 11 months ago

Feature description

In my use case, it is best to batch process the messages by kafka partition, thus the kafka ConsumerRecords container type is ideal, but currently micronaut doesn't support it and I have a workaround in place to make it work.

I'd like to propose the following change to support ConsumerRecords: https://github.com/micronaut-projects/micronaut-kafka/compare/master...rorueda:micronaut-kafka:consumer-records-support

Please let me know what you guys think.

graemerocher commented 11 months ago

seems useful. PRs most welcome