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

publish Kafka Connectors to maven central #278

Open
ryannedolan opened this issue May 27, 2021 · 6 comments
Open

publish Kafka Connectors to maven central #278

ryannedolan opened this issue May 27, 2021 · 6 comments
Labels
connector Items related to the Kafka Connector for Cloud Pub/Sub enhancement

Comments

@ryannedolan
Copy link

ryannedolan commented May 27, 2021

Hello, please consider publishing artifacts for the PubSub Kafka Connectors to Maven Central, thanks!

@dpcollins-google
Copy link
Collaborator

Can you clarify which repo this refers to?

@ryannedolan ryannedolan changed the title publish to maven central publish Kafka Connectors to maven central Jun 2, 2021
@ryannedolan
Copy link
Author

@dpcollins-google sorry, I updated the description, thanks!

@dpcollins-google
Copy link
Collaborator

Hi Ryan, I don't have any fundamental objection to this, but also don't really see how it would be valuable. Usually, connectors are uploaded as JARs to your kafka cluster, not interacted with as libraries. Is there some deployment scheme for connectors that would be significantly easier if they were available on maven central?

@ryannedolan
Copy link
Author

Manually uploading jars doesn't scale to large fleets. We bundle supported Connectors along with our Connect runtime.

Even if we did manually upload jars, or maybe built some automation to do so, it's hard to manage artifacts that don't have Maven coordinates. Currently we have manually downloaded the jars from GitHub and manually uploaded these to Artifactory, which is less than ideal. We'd like to treat these as normal libraries, as that's how we're using them.

In future we'd also like to depend on these artifacts for integration tests and as base-classes to extend from, e.g. to add custom logging and metrics.

@dpcollins-google
Copy link
Collaborator

Thank you for the context. We'll consider this as a feature request.

@dpcollins-google dpcollins-google added connector Items related to the Kafka Connector for Cloud Pub/Sub enhancement labels Jun 2, 2021
@ryannedolan
Copy link
Author

Thanks! I should also say that, if possible, we'd prefer such artifacts not be fat jars. I understand that fat jars are necessary for the upload-to-connect use-case, but not for our compile-time dependency use-cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
connector Items related to the Kafka Connector for Cloud Pub/Sub enhancement
Projects
None yet
Development

No branches or pull requests

2 participants