-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Add Error Handling to Kafka IO #29546
Merged
+659
−152
Merged
Changes from 102 commits
Commits
Show all changes
105 commits
Select commit
Hold shift + click to select a range
c22b8c1
Update 2.50 release notes to include new Kafka topicPattern feature
johnjcasey f7cf5de
Merge remote-tracking branch 'origin/master'
johnjcasey ab68ecb
Merge remote-tracking branch 'origin/master'
johnjcasey 40ad1d5
Merge remote-tracking branch 'origin/master'
johnjcasey 6c9c28d
Create groovy class for io performance tests
johnjcasey 520c9d1
delete unnecessary class
johnjcasey 062de23
fix env call
johnjcasey 01fc25b
Merge pull request #181 from johnjcasey/feature/automate-performance-…
johnjcasey 9c9f86b
fix call to gradle
johnjcasey 92306fa
Merge pull request #182 from johnjcasey/feature/automate-performance-…
johnjcasey 925ce55
run on hosted runner for testing
johnjcasey 2dcfb70
Merge pull request #183 from johnjcasey/feature/automate-performance-…
johnjcasey 117ef8b
add additional checkout
johnjcasey 1f73cda
Merge pull request #184 from johnjcasey/feature/automate-performance-…
johnjcasey cb6e01b
add destination for triggered tests
johnjcasey a9e86aa
Merge pull request #185 from johnjcasey/feature/automate-performance-…
johnjcasey 8ea6c51
move env variables to correct location
johnjcasey d8822d7
Merge pull request #186 from johnjcasey/feature/automate-performance-…
johnjcasey 320a4cc
try uploading against separate dataset
johnjcasey e89b59e
Merge pull request #187 from johnjcasey/feature/automate-performance-…
johnjcasey 1cd4e55
try without a user
johnjcasey 4473f17
Merge pull request #188 from johnjcasey/feature/automate-performance-…
johnjcasey 4fc5b8e
update branch checkout, try to view the failure log
johnjcasey 706650d
Merge pull request #189 from johnjcasey/feature/automate-performance-…
johnjcasey 59069f2
run on failure
johnjcasey 7f79b62
Merge pull request #190 from johnjcasey/feature/automate-performance-…
johnjcasey 6f51976
update to use correct BigQuery instance
johnjcasey e95d920
Merge pull request #191 from johnjcasey/feature/automate-performance-…
johnjcasey df716cb
convert to matrix
johnjcasey 4d8eded
Merge pull request #192 from johnjcasey/feature/automate-performance-…
johnjcasey 4bf0826
add result reporting
johnjcasey 403f054
Merge pull request #193 from johnjcasey/feature/automate-performance-…
johnjcasey d40d04b
add failure clause
johnjcasey aca4b2e
Merge pull request #194 from johnjcasey/feature/automate-performance-…
johnjcasey 2739e92
remove failure clause, update to run on self-hosted
johnjcasey bd6efeb
address comments, clean up build
johnjcasey 226a655
clarify branching
johnjcasey 9c7286b
Merge pull request #195 from johnjcasey/feature/automate-performance-…
johnjcasey 5b1b2c2
Merge branch 'apache:master' into master
johnjcasey f8c2b06
Merge remote-tracking branch 'origin/master'
johnjcasey d058ac9
Add error handling base implementation & test DLQ enabled class
johnjcasey 8c9dd94
Add test cases
johnjcasey 4d23fe8
apply spotless
johnjcasey 31432b7
Fix Checkstyles
johnjcasey a9dae91
Fix Checkstyles
johnjcasey 64dde49
make DLH serializable
johnjcasey c82185d
rename dead letter to bad record
johnjcasey 78d45a8
make DLH serializable
johnjcasey 6c36549
Change bad record router name, and use multioutputreceiver instead of…
johnjcasey 44036be
Refactor BadRecord to be nested
johnjcasey 06ca166
clean up checkstyle
johnjcasey a26d605
Update error handler test
johnjcasey 5a6e8d0
Add metrics for counting error records, and for measuring feature usage
johnjcasey 70c8991
apply spotless
johnjcasey 36baf98
fix checkstyle
johnjcasey 2119c76
make metric reporting static
johnjcasey 798cfc3
spotless
johnjcasey c03bb2b
Rework annotations to be an explicit label on a PTransform, instead o…
johnjcasey bf99363
fix checkstyle
johnjcasey 881f9d8
Address comments
johnjcasey f8c6d8c
Address comments
johnjcasey a1b112c
Fix test cases, spotless
johnjcasey ad1684a
remove flatting without error collections
johnjcasey 074faf2
fix nullness
johnjcasey 17bf295
spotless + encoding issues
johnjcasey e2ec57f
spotless
johnjcasey 8b3f052
throw error when error handler isn't used
johnjcasey 525d912
add concrete bad record error handler class
johnjcasey 9b4a348
spotless, fix test category
johnjcasey d6f4097
fix checkstyle
johnjcasey a067238
clean up comments
johnjcasey 408bc26
fix test case
johnjcasey 9766ea0
initial wiring of error handler into KafkaIO Read
johnjcasey 0246a80
Merge remote-tracking branch 'upstream/master' into feature/dead-lett…
johnjcasey ec50bff
remove "failing transform" field on bad record, add note to CHANGES.md
johnjcasey b092709
fix failing test cases
johnjcasey 3f1e97c
fix failing test cases
johnjcasey 4356f27
apply spotless
johnjcasey 8be71b5
Merge branch 'feature/dead-letter-queue-core' into feature/kafka-read…
johnjcasey c106698
Add tests
johnjcasey 2724a66
Add tests
johnjcasey 686a5e7
fix test case
johnjcasey 7b11704
add documentation
johnjcasey 4957b8a
wire error handler into kafka write
johnjcasey 7e3135e
fix failing test case
johnjcasey 4759f72
Add tests for writing to kafka with exception handling
johnjcasey d7b48f5
fix sdf testing
johnjcasey e978f0c
fix sdf testing
johnjcasey 2d76070
spotless
johnjcasey a9eb5af
deflake tests
johnjcasey edd725d
add error handling to kafka streaming example
johnjcasey 5067bd1
Merge remote-tracking branch 'upstream/master' into feature/dead-lett…
johnjcasey 864c429
apply final comments
johnjcasey 8307b63
apply final comments
johnjcasey fad9d56
apply final comments
johnjcasey 8b02c86
Merge branch 'feature/dead-letter-queue-core' into feature/kafka-read…
johnjcasey ad37dda
add line to CHANGES.md
johnjcasey 70437c1
fix spotless
johnjcasey 6a2801f
fix checkstyle
johnjcasey 0c1ab35
make sink transform static for serialization
johnjcasey a0781c4
Merge remote-tracking branch 'upstream/master' into feature/kafka-rea…
johnjcasey c589fd2
spotless
johnjcasey 4b1a671
fix typo
johnjcasey edb419b
fix typo
johnjcasey 58f6ca2
fix spotbugs
johnjcasey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is "Compatable" a typo here?