Commit 2d55d0d
committed
Fix handling of multiple Kafka hosts.
When multiple Kafka hosts are specified as part of the alarm URI, the
URI cannot be parsed as a server-based URI, only as a registry-based
URI. This means that the getHosts(), getPort(), and getUserInfo()
methods return null. Therefore, we have to use getAuthority() instead
when cloning the URI.
This closes #3071.1 parent 99614b6 commit 2d55d0d
File tree
1 file changed
+3
-1
lines changed- app/alarm/ui/src/main/java/org/phoebus/applications/alarm/ui/tree
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
| |||
0 commit comments