Skip to content

Commit cf4b887

Browse files
committed
test_fetcher
1 parent 9843ca1 commit cf4b887

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

test/test_fetcher.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@
1414
import kafka.errors as Errors
1515
from kafka.future import Future
1616
from kafka.protocol.broker_api_versions import BROKER_API_VERSIONS
17-
from kafka.protocol.fetch import FetchRequest, FetchResponse
18-
from kafka.protocol.list_offsets import ListOffsetsResponse, OffsetResetStrategy
17+
from kafka.protocol.new.consumer import (
18+
FetchRequest, FetchResponse,
19+
ListOffsetsResponse, OffsetResetStrategy,
20+
)
1921
from kafka.errors import (
2022
StaleMetadata, NotLeaderForPartitionError,
2123
UnknownTopicOrPartitionError, OffsetOutOfRangeError

0 commit comments

Comments
 (0)