-
Notifications
You must be signed in to change notification settings - Fork 80
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
Display server per channel in springwolf-ui #700
Comments
Welcome to Springwolf. Thanks a lot for reporting your first issue. Please check out our contributors guide and feel free to join us on discord. |
Hi @stammaja, that is a great feature enhancement to show in springwolf-ui the Using your example, you probably want to configure it, so that the springwolf.docket.servers.kafka-external.protocol=kafka
springwolf.docket.servers.kafka-external.host=... Also, your listener needs to know about the @KafkaHandler
@AsyncListener(
operation =
@AsyncOperation(
channelName = TOPIC,
servers = {"kafka-external"}))
public void handleNotification(NotificationDto notification) {
// ...
} (We plan to remove the Now, the server name shows up correctly in the |
To better indicate in the ui the difference between protocol and server name, #738 updates the examples Help is still welcome to show the server name as part of the channel item |
On this is being worked in #832 |
The change is staged for release and will be part of the next release. If you want to try and verify it in your application today, Thank you for the report/contribution! |
The change is available in the latest release. 🎉 Thank you for the report/contribution and making Springwolf better! |
In a setup similar to your example ExampleClassLevelKafkaListener, I tried to use KafkaAsyncOperationBinding "type" in order to separate listeners per server they listen to. But I'm getting "kafka" instead.
springwolf-kafka
version1.1.0
.Expected: In the UI listener will be shown with tag "kafka-external"
Actual: It is shown still as "kafka"
EDIT by maintainer:
Requested enhancement:
server
name inspringwolf-ui
. A starting point can bechannels.component.html
. This can be a simple tag next to theprotocol badge
.According to the spec, a
server
can be present on the channel kafka-example. If not present, the channel is available on all servers defined in the servers block.You, or anybody who is interested, is welcome to contribute.
The text was updated successfully, but these errors were encountered: