You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I seems fs2-kafka uses org.apache.kafka.clients.consumer.Consumer and org.apache.kafka.clients.producer.Producer under the hood but users do not have access to them so if they want to use them for integration purposes (pass them to other components), they cannot.
One of the use cases is integration with Micrometer (I'm a maintainer): it is a metrics library with Kafka Client integration and it can make metrics available using org.apache.kafka.clients.consumer.Consumer and org.apache.kafka.clients.producer.Producer.
I'm aware of fs2.kafka.consumer.KafkaMetrics#metrics and even though it's an option to use it in Micrometer, it's less ideal so I would like to explore if making org.apache.kafka.clients.consumer.Consumer and org.apache.kafka.clients.producer.Producer available to the users is an option in fs2-kafka.