We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ded5335 commit af75f77Copy full SHA for af75f77
consumer/push_consumer.go
@@ -540,7 +540,9 @@ func (pc *pushConsumer) validate() error {
540
}
541
542
if len(pc.subscribedTopic) == 0 {
543
- return errors.New("number of subscribed topics is 0.")
+ rlog.Warning("not subscribe any topic yet", map[string]interface{}{
544
+ rlog.LogKeyConsumerGroup: pc.consumerGroup,
545
+ })
546
547
548
if pc.option.ConsumeConcurrentlyMaxSpan < 1 || pc.option.ConsumeConcurrentlyMaxSpan > 65535 {
0 commit comments