@@ -229,7 +229,7 @@ def poll(
229
229
) -> Optional[RawConfluentKafkaMessageProto]
230
230
```
231
231
232
- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L146 )
232
+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L145 )
233
233
234
234
Consumes a single message, calls callbacks and returns events.
235
235
@@ -267,7 +267,7 @@ event or callback. None or -1 is infinite. Default: None.
267
267
def unsubscribe()
268
268
```
269
269
270
- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L251 )
270
+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L250 )
271
271
272
272
Remove current subscription.
273
273
@@ -287,7 +287,7 @@ def store_offsets(message: Optional[Message] = None,
287
287
offsets: Optional[List[TopicPartition]] = None )
288
288
```
289
289
290
- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L260 )
290
+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L259 )
291
291
292
292
Store offsets for a message or a list of offsets.
293
293
@@ -320,7 +320,7 @@ def commit(message: Optional[Message] = None,
320
320
asynchronous: bool = True ) -> Optional[List[TopicPartition]]
321
321
```
322
322
323
- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L291 )
323
+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L290 )
324
324
325
325
Commit a message or a list of offsets.
326
326
@@ -358,7 +358,7 @@ def committed(partitions: List[TopicPartition],
358
358
timeout: Optional[float ] = None ) -> List[TopicPartition]
359
359
```
360
360
361
- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L332 )
361
+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L331 )
362
362
363
363
Retrieve committed offsets for the specified partitions.
364
364
@@ -393,7 +393,7 @@ def get_watermark_offsets(partition: TopicPartition,
393
393
cached: bool = False ) -> Tuple[int , int ]
394
394
```
395
395
396
- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L350 )
396
+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L349 )
397
397
398
398
Retrieve low and high offsets for the specified partition.
399
399
@@ -432,7 +432,7 @@ def list_topics(topic: Optional[str] = None,
432
432
timeout: Optional[float ] = None ) -> ClusterMetadata
433
433
```
434
434
435
- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L376 )
435
+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L375 )
436
436
437
437
Request metadata from the cluster.
438
438
@@ -464,7 +464,7 @@ None or -1 is infinite. Default: None
464
464
def memberid() -> Optional[str ]
465
465
```
466
466
467
- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L397 )
467
+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L396 )
468
468
469
469
Return this client' s broker-assigned group member id.
470
470
@@ -492,7 +492,7 @@ def offsets_for_times(partitions: List[TopicPartition],
492
492
timeout: Optional[float ] = None ) -> List[TopicPartition]
493
493
```
494
494
495
- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L410 )
495
+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L409 )
496
496
497
497
Look up offsets by timestamp for the specified partitions.
498
498
@@ -531,7 +531,7 @@ None or -1 is infinite. Default: None
531
531
def pause(partitions: List[TopicPartition])
532
532
```
533
533
534
- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L436 )
534
+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L435 )
535
535
536
536
Pause consumption for the provided list of partitions.
537
537
@@ -559,7 +559,7 @@ Does NOT affect the result of `Consumer.assignment()`.
559
559
def resume(partitions: List[TopicPartition])
560
560
```
561
561
562
- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L449 )
562
+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L448 )
563
563
564
564
Resume consumption for the provided list of partitions.
565
565
@@ -583,7 +583,7 @@ Resume consumption for the provided list of partitions.
583
583
def position(partitions: List[TopicPartition]) -> List[TopicPartition]
584
584
```
585
585
586
- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L459 )
586
+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L458 )
587
587
588
588
Retrieve current positions (offsets) for the specified partitions.
589
589
@@ -616,7 +616,7 @@ the last consumed message + 1.
616
616
def seek(partition: TopicPartition)
617
617
```
618
618
619
- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L473 )
619
+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L472 )
620
620
621
621
Set consume position for partition to offset.
622
622
@@ -648,7 +648,7 @@ pass the offset in an `assign()` call.
648
648
def assignment() -> List[TopicPartition]
649
649
```
650
650
651
- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L490 )
651
+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L489 )
652
652
653
653
Returns the current partition assignment.
654
654
@@ -673,7 +673,7 @@ Returns the current partition assignment.
673
673
def set_sasl_credentials(username: str , password: str )
674
674
```
675
675
676
- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L503 )
676
+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L502 )
677
677
678
678
Sets the SASL credentials used for this client.
679
679
@@ -700,7 +700,7 @@ This method is applicable only to SASL PLAIN and SCRAM mechanisms.
700
700
def incremental_assign(partitions: List[TopicPartition])
701
701
```
702
702
703
- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L517 )
703
+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L516 )
704
704
705
705
Assign new partitions.
706
706
@@ -726,7 +726,7 @@ Any additional partitions besides the ones passed during the `Consumer`
726
726
def assign(partitions: List[TopicPartition])
727
727
```
728
728
729
- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L531 )
729
+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L530 )
730
730
731
731
Set the consumer partition assignment to the provided list of `TopicPartition` and start consuming.
732
732
@@ -751,7 +751,7 @@ Set the consumer partition assignment to the provided list of `TopicPartition` a
751
751
def incremental_unassign(partitions: List[TopicPartition])
752
752
```
753
753
754
- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L541 )
754
+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L540 )
755
755
756
756
Revoke partitions.
757
757
@@ -773,7 +773,7 @@ Can be called outside an on_revoke callback.
773
773
def unassign()
774
774
```
775
775
776
- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L551 )
776
+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L550 )
777
777
778
778
Removes the current partition assignment and stops consuming.
779
779
@@ -792,7 +792,7 @@ Removes the current partition assignment and stops consuming.
792
792
def close()
793
793
```
794
794
795
- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L560 )
795
+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L559 )
796
796
797
797
Close down and terminate the Kafka Consumer.
798
798
@@ -815,7 +815,7 @@ see `poll()` for more info.
815
815
def consumer_group_metadata() -> GroupMetadata
816
816
```
817
817
818
- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L577 )
818
+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ kafka/ consumer.py# L576 )
819
819
820
820
Used by the producer during consumer offset sending for an EOS transaction.
821
821
0 commit comments