Closed junglie85 closed 6 years ago
the log is the default server address, it does not mean the server address you add explicitly is not used. To be sure you can monitor the UDP traffic to see if the server is used.
the kafka question seems rather related to be a kafka issue ? the dns server you configure are used for Vert.x and don't propagate to Kafka
Thanks re point 1.
Re point 2, it's more whether Vert.x is able to parse an address such as kafka.service.consul
? I'm not trying to use Vert.x to propagate the DNS details to Kafka.
Following on from point 1 actually, would it be prudent for Vert.x to log any additional resolvers added, although it looks like that's probably a question for the Netty team?
I've a
Launcher
class which extendsio.vertx.core.Launcher
. In an overriddenbeforeStartingVertx(VertxOptions)
method, I add a DNS address for a Consul server:My logs show this is being executed (well, the logging call is anyway!):
Yet the only DNS resolver entry I see is:
If I try to set the location of a server, say a kafka bootstrap server using the vertx-kafka-client, like so (I've a wrapper around the options but if I specify the actual address of the server there is no issue):
Gives me the following exception:
I have four questions disguised as two:
Any help or clarification would be hugely appreciated.