This commit is contained in:
crusader 2018-07-04 20:14:25 +09:00
parent 12cdd2436c
commit 844b2b6a64

View File

@ -74,7 +74,7 @@ func (ch *ConsumerHandlers) OnMessage(msg *kafka.Message) {
return return
} }
bp := oei.BatchPointsFor("metric") bp := oei.BatchPointsFor(ch.GetConsumerName())
if nil == bp { if nil == bp {
logging.Logger().Errorf("BatchPoints of InfluxDB is not valid") logging.Logger().Errorf("BatchPoints of InfluxDB is not valid")
return return