nicer logging
This commit is contained in:
parent
dc918a700e
commit
4c655995f9
|
@ -159,7 +159,7 @@ class KafkaPoller extends Thread {
|
||||||
*/
|
*/
|
||||||
private void reconnect() {
|
private void reconnect() {
|
||||||
disconnectConsumers()
|
disconnectConsumers()
|
||||||
LOGGER.info('Creating SimpleConsumer connections for brokers')
|
LOGGER.info('Creating SimpleConsumer connections for brokers {}', this.brokers)
|
||||||
synchronized(this.brokers) {
|
synchronized(this.brokers) {
|
||||||
this.brokers.each { Broker b ->
|
this.brokers.each { Broker b ->
|
||||||
SimpleConsumer consumer = new SimpleConsumer(b.host,
|
SimpleConsumer consumer = new SimpleConsumer(b.host,
|
||||||
|
|
Loading…
Reference in New Issue