[
https://issues.apache.org/jira/browse/KAFKA-9774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17069144#comment-17069144
]
Jordan Moore commented on KAFKA-9774:
-------------------------------------
[~rhauch] & [~kkonstantine] , lemme know your thoughts here.
Here's the current design
# Use Jib to build the image <https://github.com/GoogleContainerTools/jib>
# Follow similar practices as the confluentinc/cp-docker image in that the
CONNECT_ variables are templated into the worker property file. I'd planned on
using FreeMarker to do this, but later realized that's probably overkill.
# Wrap ConnectDistributed with a small class that just initializes that file
from the environment variables.
# Maybe add some additional verification around expected variables.
# Write up some documentation that would be hosted in DockerHub
# Ping someone in Docker official-images repo to get this put up there.
Yes, right now the above repo is built in Maven, and just a branch of some
Kafka Stream stuff I did before. That is all fixable of course, no problem.
> Create official Docker image for Kafka Connect
> ----------------------------------------------
>
> Key: KAFKA-9774
> URL: https://issues.apache.org/jira/browse/KAFKA-9774
> Project: Kafka
> Issue Type: Task
> Components: build, KafkaConnect, packaging
> Affects Versions: 2.4.1
> Reporter: Jordan Moore
> Priority: Major
> Labels: build, features
> Attachments: image-2020-03-27-05-04-46-792.png,
> image-2020-03-27-05-05-59-024.png
>
>
> This is a ticket for creating an *official* apache/kafka-connect Docker
> image.
> Does this need a KIP? - I don't think so. This would be a new feature, not
> any API change.
> Why is this needed?
> # Kafka Connect is stateless. I believe this is why a Kafka image is not
> created?
> # It scales much more easily with Docker and orchestrators. It operates much
> like any other serverless / "microservice" web application
> # People struggle with deploying it because it is packaged _with Kafka_ ,
> which leads some to believe it needs to _*run* with Kafka_ on the same
> machine.
> I think there is separate ticket for creating an official Docker image for
> Kafka but clearly none exist. I reached out to Confluent about this, but
> heard nothing yet.
> !image-2020-03-27-05-05-59-024.png|width=740,height=196!
>
> Zookeeper already has one , btw
> !image-2020-03-27-05-04-46-792.png|width=739,height=288!
> *References*:
> [Docs for Official
> Images|[https://docs.docker.com/docker-hub/official_images/]]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)