Set security protocol to SASL_SSL without having to provide TLS certs #780
-
I am using Strimzi HTTP Bridge to send messages to Confluent Cloud brokers. The security protocol for Confluent Cloud clients is Here is my CR definition for bridge - apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaBridge
metadata:
name: org1-bridge
namespace: kafka
spec:
bootstrapServers: pkc-*****.**-*****.***.confluent.cloud:9092
authentication:
type: plain
username: ************
passwordSecret:
secretName: confluent-kafka-password
password: cc-password
producer:
config:
acks: all
consumer:
config:
auto.offset.reset: earliest
enable.auto.commit: true
http:
port: 8080 I have the following errors in my logs -
I see that in the Kafka Bridge Config Generator Script, the security protocol is set to |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You have to use the |
Beta Was this translation helpful? Give feedback.
-
Yeah as Jakub said, you can find more info here for example https://strimzi.io/docs/operators/latest/configuring.html#con-common-configuration-trusted-certificates-reference |
Beta Was this translation helpful? Give feedback.
You have to use the
.spec.tls
section to enable TLS in the Kafka connection. Please check the docs for more details - for example the API reference.