Skip to content

Accessing Kafka via OpenShift Routes #6129

Answered by fvaleri
AvihuHenya asked this question in Q&A
Discussion options

You must be logged in to vote

@AvihuHenya in a standard HTTP request the hostname information used by HAProxy for routing is contained in the Host header. When connecting from outside of OpenShift using non-HTTP protocols (e.g. Kafka, AMQP, etc.), both Route's edge and reencrypt TLS terminations do not work, because there is no such information.

In that case, you can use passthrough TLS termination connecting to port 443, with the encrypted traffic sent straight to the pod (a similar configuration is also available for NGinx/Ingress). Requests are routed using the unencrypted hostname information contained in the SNI (Server Name Indication) during the initial handshake.

Alternatively, you can use loadbalancer (TLS ag…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@AvihuHenya
Comment options

@scholzj
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by AvihuHenya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants