-
Notifications
You must be signed in to change notification settings - Fork 62
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
Add Proxy support #37
Conversation
@mhelleborg Thanks! Will have a look at it later today! :-) |
Hi @mhelleborg |
I have not had the chance to test it on anything else yet, so only half-way verified |
Hi @mhelleborg |
@mhelleborg |
I don't have a non-proxy cluster here, so it will be hard to test. Can have a second look at the Java implementation to see if there is anything obvious. |
@blankensteiner Seems to match the Java version, can you see what is failing against your cluster? |
Hi @mhelleborg |
Hi @mhelleborg |
@blankensteiner Created the separate PR. I dont have time to debug this right now unfortunately, perhaps later this week. |
This PR works for me and connecting to kafkaesque. will see if I can spin up a compose to test the non-proxy aspect of it. no promises, I am new at all this. |
Any update on this? Just curious as I am in need of this functionality as well. |
Hi @JarrodJ83 |
@JarrodJ83 This has not been a priority recently, but I might be able to look at it this week. No promises :) |
Thanks for the updates! @mhelleborg that would be very awesome! We are looking to leverage pulsar soon and we won't have direct access to the brokers so I'm really looking forward to this PR being merged. I'm not really sure what i could do to help as this is not an area of expertise of mine, but if there is anything, please let me know. |
@blankensteiner What was the setup which failed when you tested? Seemed to work OK on the cases I tested locally, would be nice to have a repro :) |
Hi @mhelleborg |
@blankensteiner Just direct connection to a single broker, as well as connecting to a cluster with Pulsar Proxy. Tested a compose for local cluster setup, but the one I found created an unhealthy cluster. Do you have a hot tip for a good compose setup for testing clusters locally? |
Hi @mhelleborg
Here we are using 'physicalUrl' but should actually GetBrokerServiceUrl from the LookupTopicReponse. |
NB: to test a cluster fronted by a proxy you can use kafkaesque free tier. |
@blankensteiner Thanks, will fix it when I have time later today :). @franck-schmidlin Its already tested against Kafkaesque, works fine ;) |
…ing ProxyToBrokerUrl.
Did some minor changes, have a look @blankensteiner :) |
Thanks for the PR, I appreciate it! :-) |
This adds support for connection through a pulsar proxy. Tested against Kafkaeseque's SAAS offering.
This closes Issue 36