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

Looking for examples/clients/cloud/rest-proxy connector java source code #1091

Open
aedavids opened this issue Apr 6, 2022 · 1 comment
Open

Comments

@aedavids
Copy link

aedavids commented Apr 6, 2022

Description
I am a newbie. I need to write a connector that a legacy system will call via http post. I am looking for some sample code I can start with. Basically I want to write something like a servlet. My servlet needs to do some business specific process of the posted data, then write to a Kafka topic

I looked at examples/clients/cloud/rest-proxy. It is all docker based. Any idea how I find the connector source code installed in the containers?

Kind regards

Andy

@OneCricketeer
Copy link

Docker is an implementation detail. You should be able to use any HTTP client you are comfortable with and generate data to the REST Proxy API.

However, if you already are writing custom HTTP client code within this system, trying to put a Kafka client there instead would make more sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants