-
Notifications
You must be signed in to change notification settings - Fork 184
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
Java Client code example not working #1881
Conversation
@berndruecker is this behavior correct? The address doesn't include the port? |
I think we should actually better include sample addresses to make clear what a user needs - this is more intuitive to understand. See https://javadoc.io/doc/io.camunda/zeebe-client-java/latest/io/camunda/zeebe/client/ZeebeClientBuilder.html#gatewayAddress(java.lang.String) (and https://github.com/camunda-community-hub/spring-zeebe#configuring-camunda-platform-8-saas-connection) - the gateway address includes the port (!) We could probably just use WDYT @jenshb? |
Hi @berndruecker, I also thought about providing examples, an example says more than thousand words ;-) As far as I can see, this is because the audience should not contain the port but has to be |
My renaming work with APIs/clients will likely cause conflicts here. Once you've completed the change, please loop me in if you need assistance with a clean build here. |
Not sure if @jenshb is still working on this? I think we can merge the current proposal, still I personally would prefer an example - not the rule "gateway address without port" - but it is an improvement anyway |
Code example is not working because zeebeApi is not defined. By trial and error figured out, that the Zeebe Adress without Port has to be passed here.
I introduced a new variable for audience, because it can differ from zeebeApi, and added examples. Maybe it's better now? |
@berndruecker @jenshb is this still being worked? |
@berndruecker @jenshb Anything I can assist with here? |
I will merge it now - it makes total sense. @jenshb: Thanks for the improvement of the docs! |
@jenshb @berndruecker Do we just need to add this change to versioned docs? Happy to assist with this and merge, but let me know if you were planning to make any other changes here. |
…ence, added examples
@christinaausley I added the changes from the /version_docs directory to the /docs directory. I hope that's what you intended? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks all! I'll enable auto-merge and we can wrap this up.
Code example is not working because zeebeApi is not defined. By trial and error figured out, that the Zeebe Adress without Port has to be passed here.
What is the purpose of the change
Working code example
Are there related marketing activities
No
When should this change go live?
No
PR Checklist
/versioned_docs
directory, or they are not for an already released version./docs
directory, or they are not for future versions.