<p>I'm trying to install Jaeger into my K8s cluster using the streaming strategy. I need to use the existing Kafka cluster from my cloud provider. It requires a username and password. Jaeger documentation mentions only broker and topic:</p>
<pre><code> spec:
     strategy: streaming
  collector:
    options:
      kafka: # &lt;1&gt;
        producer:
          topic: jaeger-spans
          brokers: my-cluster-kafka-brokers.kafka:9092 
</code></pre>
<p>How can I configure Kafka credentials in CRD?</p>
<p>-Thanks in advance!</p>

Timur
<p>Based on following example from <a href="https://www.jaegertracing.io/docs/1.21/operator/#streaming-strategy" rel="nofollow noreferrer">jaeger docs</a>:</p>
<pre><code>apiVersion: jaegertracing.io/v1
kind: Jaeger
metadata:
  name: simple-streaming
spec:
  strategy: streaming
  collector:
    options:
      kafka: # &lt;1&gt;
        producer:
          topic: jaeger-spans
          brokers: my-cluster-kafka-brokers.kafka:9092
  ingester:
    options:
      kafka: # &lt;1&gt;
        consumer:
          topic: jaeger-spans
          brokers: my-cluster-kafka-brokers.kafka:9092
      ingester:
        deadlockInterval: 5s # &lt;2&gt;
  storage:
    type: elasticsearch
    options:
      es:
        server-urls: http://elasticsearch:9200
</code></pre>
<p>and on example <a href="https://www.jaegertracing.io/docs/1.21/cli/" rel="nofollow noreferrer">cli falgs</a>:</p>
<pre><code>--kafka.producer.topic  jaeger-spans
The name of the kafka topic
--kafka.producer.brokers    127.0.0.1:9092
The comma-separated list of kafka brokers. i.e. '127.0.0.1:9092,0.0.0:1234'
--kafka.producer.plaintext.password 
The plaintext Password for SASL/PLAIN authentication
--kafka.producer.plaintext.username 
The plaintext Username for SASL/PLAIN authentication
</code></pre>
<p>I infere that you should be able to do the following:</p>
<pre><code>spec:
     strategy: streaming
  collector:
    options:
      kafka: # &lt;1&gt;
        producer:
          topic: jaeger-spans
          brokers: my-cluster-kafka-brokers.kafka:9092
          plaintext:
            username: &lt;username&gt;
            password: &lt;password&gt; 
</code></pre>
<p>Notice that I split the cli options with the dot and added it as a nested fields in yaml. Do the same to other parameters by analogy.</p>
