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

Kafka Exporter Not Creating Topics #34370

Closed
kadhamecha-conga opened this issue Aug 1, 2024 · 1 comment
Closed

Kafka Exporter Not Creating Topics #34370

kadhamecha-conga opened this issue Aug 1, 2024 · 1 comment
Labels
bug Something isn't working exporter/kafka needs triage New item requiring triage

Comments

@kadhamecha-conga
Copy link

Component(s)

exporter/kafka

What happened?

hi team,

The Kafka exporter is failing to automatically create topics as expected. This issue affects the following default topics:

otlp_spans (for traces)
otlp_metrics (for metrics)

Expected Behavior:
The Kafka exporter should automatically create these topics if they do not already exist when data is sent for export.

Current Behavior:
Topics are not being created automatically, causing potential data loss or export failures.

Collector version

0.83.0

Environment information

Environment

eks 1.28

OpenTelemetry Collector configuration

receivers:
      otlp:
        protocols:
          grpc:
            keepalive:
              server_parameters:
                max_connection_age: 1h 
                max_connection_age_grace: 10m

          http:
            cors:
              allowed_origins:
              - "*"

    processors:
    extensions:
      health_check:

    exporters:
      kafka:
        brokers:
          - kafka:9092
        protocol_version: 2.0.0
      logging:
        loglevel: info
      logging/debug:
        loglevel: DEBUG
      logging/detail:
        verbosity: detailed

    service:
      extensions: [health_check ]

      pipelines:
        traces:
          receivers: [otlp]
          processors:
            - memory_limiter
            - batch
          exporters:
            - kafka
        
        metrics:
          receivers: [otlp]
          processors:
            - memory_limiter
            - batch
          exporters:
            - kafka

        logs:
          receivers: [otlp]
          processors:
            - memory_limiter
            - batch
          exporters:
            - kafka

Log output

No response

Additional context

No response

@kadhamecha-conga kadhamecha-conga added bug Something isn't working needs triage New item requiring triage labels Aug 1, 2024
Copy link
Contributor

github-actions bot commented Aug 1, 2024

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working exporter/kafka needs triage New item requiring triage
Projects
None yet
Development

No branches or pull requests

1 participant