Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-28875][DSTREAMS][SS][TESTS] Add Task retry tests to make sure …
…new consumer used ### What changes were proposed in this pull request? When Task retry happens with Kafka source then it's not known whether the consumer is the issue so the old consumer removed from cache and new consumer created. The feature works fine but not covered with tests. In this PR I've added such test for DStreams + Structured Streaming. ### Why are the changes needed? No such tests are there. ### Does this PR introduce any user-facing change? No. ### How was this patch tested? Existing + new unit tests. Closes #25582 from gaborgsomogyi/SPARK-28875. Authored-by: Gabor Somogyi <gabor.g.somogyi@gmail.com> Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
- Loading branch information
1 parent
84d4f94
commit b205269
Showing
3 changed files
with
71 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters