[
https://issues.apache.org/jira/browse/SPARK-50568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jungtaek Lim resolved SPARK-50568.
----------------------------------
Resolution: Fixed
Issue resolved by pull request 49164
[https://github.com/apache/spark/pull/49164]
> Fix KafkaMicroBatchSourceSuite to cover KafkaOffsetReaderConsumer with unit
> tests
> ---------------------------------------------------------------------------------
>
> Key: SPARK-50568
> URL: https://issues.apache.org/jira/browse/SPARK-50568
> Project: Spark
> Issue Type: Bug
> Components: Connect, Structured Streaming
> Affects Versions: 3.5.3
> Reporter: Dmytro Tsyliuryk
> Assignee: Dmytro Tsyliuryk
> Priority: Critical
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> KafkaMicroBatchSourceSuite consists of set of different suites, where
> KafkaMicroBatchSourceSuiteBase based suite is defined. There are 4
> implementations of this abstract class for now:
> 1. `KafkaMicroBatchV1SourceSuite` - V1 source that supposes to use
> `KafkaOffsetReaderConsumer` as `KafkaOffsetReader`.
> 2. `KafkaMicroBatchV2SourceSuite` - V2 source that supposes to use
> `KafkaOffsetReaderConsumer` as `KafkaOffsetReader`.
> 3. `KafkaMicroBatchV1SourceWithAdminSuite` - V1 source that uses
> `KafkaOffsetReaderAdmin` as `KafkaOffsetReader`.
> 4. `KafkaMicroBatchV2SourceWithAdminSuite` - V2 source that uses
> `KafkaOffsetReaderAdmin` as `KafkaOffsetReader`.
> But `KafkaMicroBatchV1SourceSuite` and `KafkaMicroBatchV2SourceSuite` are
> still running based on `KafkaOffsetReaderAdmin`, as
> `USE_DEPRECATED_KAFKA_OFFSET_FETCHING` is `false` be default. By switching it
> to `true` in `beforeAll`, we make sure that corresponding `KafkaOffsetReader`
> is in use.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]