-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Kafka receiver and exporter #1331
Comments
@pavolloffay definitely we can host this, some questions:
|
Primarily we should support OTLP in this repository. However supporting additional formats that are already imported (Jaeger, Zipkin) in this project could help users with migration.
It depends on the chosen Kafka client. There are a couple of options:
@yurishkuro you have more experience with the Sarama client. Could you please share your preference on the driver? |
From the number of 3rd party dependencies the https://github.com/segmentio/kafka-go/blob/master/go.mod seems to be better than https://github.com/Shopify/sarama/blob/master/go.mod |
The kafka-go does not support GSSAPI/Kerberos segmentio/kafka-go#237 (though, we could contribute it) |
@pavolloffay we've had some issue with sarama when partition rebalancing happens (you may recall the "deadlock detector"). But we're not on the latest version and should consider upgrading. I don't have any experience with sementio or confluence drivers. The latter, as you said, requires cgo, which we so far tried to avoid. |
Maybe the best option is to stick with sarama for now (as a known quantity). Sarama "currently officially support .... Kafka 2.3 through 2.5" whereas sementio/kafka-go "is currently compatible with Kafka versions from 0.10.1.0 to 2.1.0". Although both would probably work fine with latest Kafka, it seems to suggest sarama is more closely tracking the Kafka releases. |
I am also more leaning toward sarama since it supports also Kerberos. |
Is your feature request related to a problem? Please describe.
Use Kafka as an intermediary buffer between collectors and exporter to an actual storage/vendor.
This issue is a possible duplicate of open-telemetry/opentelemetry-collector-contrib#268 and open-telemetry/opentelemetry-collector-contrib#5.
Should be Kafka supported in the contrib or in this repository if there is substantial interest?
Other references to Kafka related issues:
Describe the solution you'd like
Kafka receiver and exporter hosted in OpenTelemetry collector.
Describe alternatives you've considered
Host the implementation in the Jaeger project.
Additional context
None.
The text was updated successfully, but these errors were encountered: