generated from creek-service/multi-module-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Get debugging of Kafka brokers working #245
Labels
enhancement
New feature or request
Comments
Once fixed, the following can be added back into ## Debugging a 3rd-party service
Debugging your service code is way cool. But that's not the end of it. With Creek system tests you can also debug
any services started by test extensions too. For example, if any service under test references Kafka resources,
the Creek Kafka test extension will start a Kafka broker, and Creek makes debugging the Kafka broker easy:
With [AttachMe][attachMe] plugin installed, the Kafka broker can be debugged with the following steps:
1. Open the Kafka broker code in your IDE, making sure the code matches the version of the broker.
2. Create and run an `AttachMe` run configuration.
{% include figure image_path="/assets/images/creek-create-attachme-run-config.png" alt="AttacheMe run configuration" %}
3. Name the new configuration, but leave the default port at the default `7857`.
{% include figure image_path="/assets/images/creek-attachme-run-config.png" alt="AttacheMe run configuration details" %}
4. Place the required breakpoints in the Kafka broker code.
5. Run the system tests, specifying `kafka-default` as the name of the service to debug
(`default` being the name of the Kafka cluster, update appropriately if using a different cluster name):
./gradlew systemTest
./gradlew systemTest
|
big-andy-coates
added a commit
to creek-service/basic-kafka-streams-demo
that referenced
this issue
Mar 18, 2023
...to: 1. The latest gh-pages workflow 1. Correctly expose its aggregate descriptor 1. include details of the ks-aggregate-api-demo 1. Remove reference to debugging Kafka brokers, as it's not currently working. (see creek-service/creek-system-test#245).
4 tasks
big-andy-coates
added a commit
to creek-service/basic-kafka-streams-demo
that referenced
this issue
Mar 19, 2023
...to: 1. The latest gh-pages workflow 1. Correctly expose its aggregate descriptor 1. include details of the ks-aggregate-api-demo 1. Remove reference to debugging Kafka brokers, as it's not currently working. (see creek-service/creek-system-test#245).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The idea is that users should be able to debug Kafka brokers running in Docker containers during the system tests with something like:
Unfortunately, this is currently failing with
This needs investigating and fixing.
Once done, add the "You can debug Kafka Brokers" section in the basic-kafka-streams-demo docs.
The text was updated successfully, but these errors were encountered: