|
|
|
@ -390,7 +390,7 @@ func (och *OnlineHistoryConsumerHandler) ConsumeClaim(sess sarama.ConsumerGroupS
|
|
|
|
|
claim sarama.ConsumerGroupClaim) error { // a instance in the consumer group
|
|
|
|
|
log.NewDebug("", "online new session msg come", claim.HighWaterMarkOffset(), claim.Topic(), claim.Partition())
|
|
|
|
|
cMsg := make([]*sarama.ConsumerMessage, 0, 500)
|
|
|
|
|
t := time.NewTicker(time.Duration(10) * time.Millisecond)
|
|
|
|
|
t := time.NewTicker(time.Duration(100) * time.Millisecond)
|
|
|
|
|
var triggerID string
|
|
|
|
|
for msg := range claim.Messages() {
|
|
|
|
|
//och.TriggerCmd(OnlineTopicBusy)
|
|
|
|
|