瀏覽代碼

fixed the function call with changed parameter ordering

Varun 6 年之前
父節點
當前提交
8cc8678245
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      consumer_group.go

+ 1 - 1
consumer_group.go

@@ -267,7 +267,7 @@ func (c *consumerGroup) newSession(ctx context.Context, coordinator *Broker, top
 		}
 	}
 
-	return newConsumerGroupSession(c, ctx, claims, join.MemberId, join.GenerationId, handler)
+	return newConsumerGroupSession(ctx, c, claims, join.MemberId, join.GenerationId, handler)
 }
 
 func (c *consumerGroup) joinGroupRequest(coordinator *Broker, topics []string) (*JoinGroupResponse, error) {