This change is to improve Kafka HA handling in the Collector. When no brokers are available, messages cannot be published to Kafka. We need to re-establish connection to the brokers and force a Redis resync so that no UVE updates are missed.
This change is to improve Kafka HA handling in the Collector.
When no brokers are available, messages cannot be published to Kafka.
We need to re-establish connection to the brokers and force a
Redis resync so that no UVE updates are missed.

This can also happen a startup time - if a collector comes up
before Kafka instances.

Change-Id: I38d6a267c6357e668b49bc03ef9a28aa627661be
Partial-Bug:1428271

codilime/contrail-controller,tcpcloud/contrail-controller,rombie/contrail-controller,nischalsheth/contrail-controller,sajuptpm/contrail-controller,codilime/contrail-controller,rombie/contrail-controller,vmahuli/contrail-controller,eonpatapon/contrail-controller,vpramo/contrail-controller,DreamLab/contrail-controller,rombie/contrail-controller,nischalsheth/contrail-controller,nischalsheth/contrail-controller,reiaaoyama/contrail-controller,codilime/contrail-controller,eonpatapon/contrail-controller,nischalsheth/contrail-controller,rombie/contrail-controller,facetothefate/contrail-controller,DreamLab/contrail-controller,nischalsheth/contrail-controller,sajuptpm/contrail-controller,sajuptpm/contrail-controller,hthompson6/contrail-controller,numansiddique/contrail-controller,tcpcloud/contrail-controller,hthompson6/contrail-controller,eonpatapon/contrail-controller,vmahuli/contrail-controller,sajuptpm/contrail-controller,reiaaoyama/contrail-controller,reiaaoyama/contrail-controller,vpramo/contrail-controller,numansiddique/contrail-controller,eonpatapon/contrail-controller,vpramo/contrail-controller,eonpatapon/contrail-controller,eonpatapon/contrail-controller,sajuptpm/contrail-controller,codilime/contrail-controller,codilime/contrail-controller,DreamLab/contrail-controller,nischalsheth/contrail-controller,hthompson6/contrail-controller,nischalsheth/contrail-controller,rombie/contrail-controller,rombie/contrail-controller,reiaaoyama/contrail-controller,DreamLab/contrail-controller,facetothefate/contrail-controller,eonpatapon/contrail-controller,tcpcloud/contrail-controller,vmahuli/contrail-controller,vpramo/contrail-controller,sajuptpm/contrail-controller,facetothefate/contrail-controller,numansiddique/contrail-controller,tcpcloud/contrail-controller,numansiddique/contrail-controller,numansiddique/contrail-controller,DreamLab/contrail-controller,hthompson6/contrail-controller,codilime/contrail-controller,facetothefate/contrail-controller,vmahuli/contrail-controller,facetothefate/contrail-controller,nischalsheth/contrail-controller,rombie/contrail-controller,tcpcloud/contrail-controller,tcpcloud/contrail-controller,vmahuli/contrail-controller,hthompson6/contrail-controller,reiaaoyama/contrail-controller,vpramo/contrail-controller