-
Notifications
You must be signed in to change notification settings - Fork 567
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
Errors in examples/messaging at the stage of building (Kafka) and running (JMS) applications #2763
Comments
I fixed Kafka issue, it is enough to upgrade to 2.7.0 version from 2.5.0 version in examples/messaging/docker/kafka/Dockerfile.kafka. ENV VERSION=2.5.0 -> ENV VERSION=2.7.0 |
Hi nice catch! Apache mirrors no longer publish version 2.5.0, new dockerfile version #2768 resolves latest version for installation. |
Are you sure rmohr/activemq image started correctly for you? Just tested freshly pulled image and works as expected: |
@danielkec Ok, rmohr/activemq now works. I don't know why it didn't work earlier. Btw, I wanted to create communication between two microservices using kafka server and I want to ask: what is the best practice to make kafka server working merely in backend, because I found that /examples/messaging/kafka-websocket-se works only if javascript WebSocket is opened at frontend. How to make websocket working in clean helidon (backend) without necessity of opening js ws at frontend? |
Not sure if I do understand the question, but if you want to try SE messaging with Kafka without frontend attached take a look at this little example https://github.com/danielkec/streaming-sasl (ignore the graal substitution) it's simple one file example of sending and receiving in console |
You can also find detailed step by step explanation in this article https://medium.com/helidon/helidon-2-0-with-kafka-b97ba4f422bd |
Environment Details
Problem Description
Hi, I found two bugs in examples/messaging https://github.com/oracle/helidon/tree/2.2.0/examples/messaging at the stage of building. The problems are easily reproducible.
The first one is that kafkaRun.sh script seems to be obsolete. Stack traces:
And the second one is related to JMS. I can run JMS docker container using "docker run --name='activemq' --rm -p 61616:61616 -p 8161:8161 rmohr/activemq" but it doesn't seem to be available in the web browser. Moreover, running jms-websocket-se application fails and its stack traces are:
Steps to reproduce
Kafka issue:
JMS issue:
The text was updated successfully, but these errors were encountered: