Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tag for connect-standalone #46

Open
streamsend-io opened this issue Oct 1, 2024 · 3 comments
Open

tag for connect-standalone #46

streamsend-io opened this issue Oct 1, 2024 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@streamsend-io
Copy link

This is a great container and works well - thank you. A slimmer container creates a stonger use case for "connect at the edge" - since the smaller footprint enables source connectors to stream from edge locations. These containers are unlikely to run in connect-distributed mode; instead they would run in connect-standalone mode.

A connect-standalone tag would

  • add property CONNECT_OFFSET_STORAGE_FILE_FILENAME
  • remove properties CONNECT_OFFSET_STORAGE_TOPIC, CONNECT_CONFIG_STORAGE_TOPIC, CONNECT_STATUS_STORAGE_TOPIC
  • change the EntryPoint from org.apache.kafka.connect.cli.ConnectDistributedWrapper to org.apache.kafka.connect.cli.ConnectStandaloneWrapper.
@OneCricketeer
Copy link
Owner

Thanks for the request. Can you clarify how changing the entrypoint would create a slimmer container? All the runtime Java classes would still be there. Connect standalone still runs a jetty server.

@streamsend-io
Copy link
Author

Hi,
Clarification: I am acknowlodging that this container is slimmer than cp-connect. Adding a tag capability for connectStandalone would not impact the container size, AFAIK.

Changing the endpoint to use "org.apache.kafka.connect.cli.ConnectStandaloneWrapper"
returns ERROR " Could not find or load main class org.apache.kafka.connect.cli.ConnectStandaloneWrapper"
I'm unfamiliar with "ConnectDistributedWrapper" - where is this defined?

@OneCricketeer
Copy link
Owner

@OneCricketeer OneCricketeer added enhancement New feature or request good first issue Good for newcomers labels Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants