Skip to content

Enable KafkaStreamsMicrometerListener based on configuration #3203

Open
@singhbaljit

Description

@singhbaljit

Spring Kafka provides KafkaStreamsMicrometerListener, which currently has to be added to the StreamsBuilderFactoryBean programmatically. There should be a configuration/property that supports adding a default listener automatically. This is similar to spring.kafka.listener.observation-enabled and spring.kafka.template.observation-enabled. Perhaps, something like spring.kafka.streams.observation-enabled? For now, it only adds the metrics; when the feature is ready, it can also auto-configure traces (#2635 and micrometer-metrics/micrometer#3713) like it happens for KafkaTemplate and KafkaListener.

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