File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
faststream/confluent/broker Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ def subscriber(
114114 * topics : str ,
115115 partitions : Sequence ["TopicPartition" ] = (),
116116 polling_interval : float = 0.1 ,
117- group_id : None = None ,
117+ group_id : str | None = None ,
118118 group_instance_id : None = None ,
119119 fetch_max_wait_ms : int = 500 ,
120120 fetch_max_bytes : int = 50 * 1024 * 1024 ,
Original file line number Diff line number Diff line change @@ -120,3 +120,8 @@ def check_subscriber_instance_type(
120120KafkaRouter (routers = [KafkaRouter ()])
121121KafkaRouter ().include_router (KafkaRouter ())
122122KafkaRouter ().include_routers (KafkaRouter ())
123+
124+
125+ @KafkaBroker ().subscriber ("mykey" , group_id = "my_group" , batch = True )
126+ async def process_msgs () -> None :
127+ pass
You can’t perform that action at this time.
0 commit comments