Skip to content

Add "clientId" in @KafkaListener #749

@essepuig

Description

@essepuig

Could it be possible to add a "clientId" (or "consumerId") field in the KafkaListener annotation ?

This new field could be used override the ConsumerConfig.CLIENT_ID_CONFIG configuration, the same way as "groupId" overrides the ConsumerConfig.GROUP_ID_CONFIG

This new field could be useful to identify the consumer when looking at the exposed kafka jmx metrics, specially when a single containerFactory is used for many consumers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions