Skip to content

Document how to wire other beans in Spring Kafka producer/consumer interceptor #897

@nitenA

Description

@nitenA

Hi ,

Please let me know how to auto wire beans with spring Kafka producer/consumer interceptor. Interceptor works fine and getting invoked on each commit/ack.

I would like to take it further by calling custom bean to record that into database.

Also how to get application configurations within this interceptor.

I tried all possible ways of making it as component and registering to spring interceptor registry but no luck.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions