Skip to content

PLUGIN-1515 fix http sink when batch size > 1#112

Merged
albertshau merged 1 commit intorelease/1.2from
PLUGIN-1515-fix-http-sink-1-2
Feb 22, 2023
Merged

PLUGIN-1515 fix http sink when batch size > 1#112
albertshau merged 1 commit intorelease/1.2from
PLUGIN-1515-fix-http-sink-1-2

Conversation

@albertshau
Copy link
Contributor

Fix the HTTP sink to properly write messages in the OutputFormat instead of in the transform and destroy methods of the sink, since the destroy method never gets called in Spark. This ensures that messages are flushed when the RecordWriter is closed.

Also fixed it to properly handle unknown input schemas instead of throwing a NullPointerException, and random checkstyle and unit test failures

Also bumping version to 1.2.6

Fix the HTTP sink to properly write messages in the OutputFormat
instead of in the transform and destroy methods of the sink,
since the destroy method never gets called in Spark.
This ensures that messages are flushed when the RecordWriter is
closed.

Also fixed it to properly handle unknown input schemas instead of
throwing a NullPointerException, and random checkstyle and unit
test failures

Also bumping version to 1.2.6
@albertshau albertshau merged commit 245af97 into release/1.2 Feb 22, 2023
@albertshau albertshau deleted the PLUGIN-1515-fix-http-sink-1-2 branch February 22, 2023 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants