Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup after kafka-python merge #947

Merged
merged 4 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aiokafka/consumer/consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class AIOKafkaConsumer:
sasl_plain_password (str): password for SASL ``PLAIN`` authentication.
Default: None
sasl_oauth_token_provider (~aiokafka.abc.AbstractTokenProvider):
OAuthBearer token provider instance. (See :mod:`aiokafka.oauth`).
OAuthBearer token provider instance.
Default: None

Note:
Expand Down
1,189 changes: 0 additions & 1,189 deletions aiokafka/coordinator/base.py

This file was deleted.

984 changes: 0 additions & 984 deletions aiokafka/coordinator/consumer.py

This file was deleted.

69 changes: 0 additions & 69 deletions aiokafka/coordinator/heartbeat.py

This file was deleted.

38 changes: 0 additions & 38 deletions aiokafka/oauth.py

This file was deleted.

3 changes: 1 addition & 2 deletions aiokafka/producer/producer.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ class AIOKafkaProducer:
sasl_plain_password (str): password for SASL ``PLAIN`` authentication.
Default: :data:`None`
sasl_oauth_token_provider (:class:`~aiokafka.abc.AbstractTokenProvider`):
OAuthBearer token provider instance. (See
:mod:`aiokafka.oauth`).
OAuthBearer token provider instance.
Default: :data:`None`

Note:
Expand Down
30 changes: 0 additions & 30 deletions aiokafka/protocol/frame.py

This file was deleted.

5 changes: 2 additions & 3 deletions aiokafka/protocol/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from aiokafka.errors import UnsupportedCodecError
from aiokafka.util import WeakMethod

from .frame import KafkaBytes
from .struct import Struct
from .types import Int8, Int32, UInt32, Int64, Bytes, Schema, AbstractType

Expand Down Expand Up @@ -186,7 +185,7 @@ class MessageSet(AbstractType):
@classmethod
def encode(cls, items, prepend_size=True):
# RecordAccumulator encodes messagesets internally
if isinstance(items, (io.BytesIO, KafkaBytes)):
if isinstance(items, io.BytesIO):
size = Int32.decode(items)
if prepend_size:
# rewind and return all the bytes
Expand Down Expand Up @@ -234,7 +233,7 @@ def decode(cls, data, bytes_to_read=None):

@classmethod
def repr(cls, messages):
if isinstance(messages, (KafkaBytes, io.BytesIO)):
if isinstance(messages, io.BytesIO):
offset = messages.tell()
decoded = cls.decode(messages)
messages.seek(offset)
Expand Down
194 changes: 0 additions & 194 deletions aiokafka/protocol/parser.py

This file was deleted.

Loading
Loading