Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Native Kafka Exporter Support in OpenTelemetry Java Agent #13091

Open
VenuEmmadi opened this issue Jan 23, 2025 · 1 comment
Labels
enhancement New feature or request needs triage New issue that requires triage

Comments

@VenuEmmadi
Copy link

Is your feature request related to a problem? Please describe.

Currently, the OpenTelemetry Java Agent does not support exporting telemetry data directly to Kafka. Users who want to send telemetry to Kafka must rely on an intermediate OpenTelemetry Collector to achieve this. This adds complexity to the observability setup, requiring additional configuration and infrastructure, which could be avoided with native Kafka support in the Java Agent.

Describe the solution you'd like

Implement a native Kafka exporter in the OpenTelemetry Java Agent to allow telemetry data (traces, metrics, and logs) to be sent directly to Kafka topics without requiring an intermediate OpenTelemetry Collector. The exporter should support configurable Kafka brokers, topics, and optional authentication mechanisms to integrate seamlessly with existing Kafka setups. This would simplify the observability pipeline and reduce operational overhead.

Describe alternatives you've considered

The primary alternative is using the OpenTelemetry Collector as an intermediary. The Java Agent sends telemetry data to the Collector using OTLP, and the Collector forwards it to Kafka. While this approach works, it introduces additional complexity and potential points of failure. Another alternative is to develop custom instrumentation or a wrapper around the Java Agent to achieve direct Kafka support, but this requires significant effort and maintenance from end users. A native Kafka exporter in the Java Agent would eliminate these complexities.

Additional context

Direct Kafka support in the OpenTelemetry Java Agent would be particularly useful for organizations that use Kafka as their central telemetry processing pipeline. It aligns with the trend of reducing intermediate components in observability stacks to enhance performance and reliability. Additionally, native support would make the agent more versatile for diverse use cases, such as real-time stream processing and analytics with Kafka-based platforms like Apache Flink or ksqlDB. This feature would also be consistent with the growing adoption of Kafka in modern cloud-native architectures.

@VenuEmmadi VenuEmmadi added enhancement New feature or request needs triage New issue that requires triage labels Jan 23, 2025
@trask
Copy link
Member

trask commented Jan 24, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage New issue that requires triage
Projects
None yet
Development

No branches or pull requests

2 participants