minleejae opened a new pull request, #3951:
URL: https://github.com/apache/iggy/pull/3951
Binds the `iggy_sink_consume` FFI status and returns
`RuntimeError::SinkConsumeFailed { plugin_id, status }` on non-zero, matching
the existing `iggy_sink_open` check in the same file. The caller's existing
`Err` path handles logging and skips the processed counter, so a failed batch
is no longer counted as processed.
Includes a regression test with stub `extern "C"` callbacks for both paths —
the failure-path test fails on master with `expected SinkConsumeFailed, got
success` and passes with this change.
Closes #3950
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]