You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "muralibasani (via GitHub)" <gi...@apache.org> on 2026/10/08 19:41:43 UTC
[PR] MINOR: Add SASL and SSL examples to native Docker image docs [kafka]
muralibasani opened a new pull request, #23751:
URL: https://github.com/apache/kafka/pull/23751
The native image section of the Docker getting-started page had no security examples, although the repo's single-node sasl_plaintext and ssl Docker Compose examples can be used with apache/kafka-native.
Added a subsection showing how to run those examples with the native image and connect with the console producer. The note that the image is experimental and not recommended for production is unchanged.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: Add SASL and SSL section in docker docs [kafka]
Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 commented on PR #23751:
URL: https://github.com/apache/kafka/pull/23751#issuecomment-6269665262
backport to 4.4 branch :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: Add SASL and SSL examples to native Docker image docs [kafka]
Posted by "muralibasani (via GitHub)" <gi...@apache.org>.
muralibasani commented on code in PR #23751:
URL: https://github.com/apache/kafka/pull/23751#discussion_r4234298093
##########
docs/getting-started/docker.md:
##########
@@ -68,9 +68,44 @@ $ docker pull apache/kafka-native:latest
To start the Kafka container using this Docker image with default configs and on default port 9092:
```bash
-$ docker run -p 9092:9092 apache/kafka-native:4.3.0
+$ docker run -p 9092:9092 apache/kafka-native:4.4.0
```
+### Securing the native image with SASL or SSL
Review Comment:
Indeed it would be duplicate. Removed all of it and added that reference.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: Add SASL and SSL examples to native Docker image docs [kafka]
Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 commented on code in PR #23751:
URL: https://github.com/apache/kafka/pull/23751#discussion_r4233184893
##########
docs/getting-started/docker.md:
##########
@@ -68,9 +68,44 @@ $ docker pull apache/kafka-native:latest
To start the Kafka container using this Docker image with default configs and on default port 9092:
```bash
-$ docker run -p 9092:9092 apache/kafka-native:4.3.0
+$ docker run -p 9092:9092 apache/kafka-native:4.4.0
```
+### Securing the native image with SASL or SSL
Review Comment:
I just noticed that most of this content already exists in docker/examples/README.md. Maybe we could simply say that the native image supports SASL since 4.4.0, and link to the README for the examples?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: Add SASL and SSL section in docker docs [kafka]
Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 commented on code in PR #23751:
URL: https://github.com/apache/kafka/pull/23751#discussion_r4241626115
##########
docs/getting-started/docker.md:
##########
@@ -68,9 +68,13 @@ $ docker pull apache/kafka-native:latest
To start the Kafka container using this Docker image with default configs and on default port 9092:
```bash
-$ docker run -p 9092:9092 apache/kafka-native:4.3.0
+$ docker run -p 9092:9092 apache/kafka-native:4.4.0
```
+### SASL and SSL
+
+The native image supports SASL authentication since 4.4.0; earlier native images do not. Docker Compose examples for SASL and SSL, which work with both the JVM and the native image, are described in the [usage guide](https://github.com/apache/kafka/blob/trunk/docker/examples/README.md).
Review Comment:
I opened https://issues.apache.org/jira/browse/KAFKA-21258 to merge those two files.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: Add SASL and SSL section in docker docs [kafka]
Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 merged PR #23751:
URL: https://github.com/apache/kafka/pull/23751
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org