Skip to content

Single record listener backed with a BatchListener #1356

@Rajh

Description

@Rajh

Hi,

This issue is related to https://stackoverflow.com/questions/59767430/how-to-add-default-behavior-to-kafkalistener

Would it be possible to have a singe record consumer but backed up wth a BatchListener.
I'm having performances issues when using transaction with single record consumer, but my processing can only process one message at a time.

My request would be to be able to keep my single record consumer but behind a BatchListener.
With an ErrorHandler which will handle errors (in the case we don't have to rollback) for each record the whole thing process into a single transaction.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions