debezium / debezium/dbz

Throw more specific exception when Debezum engine shut down is in progress [DBZ-8732]

Open
#1,218 0 comments 0 reactions 1 assignee Claimed by @vjuranek View on GitHub
component/embedded-engine migrated-from-jira type/task
Dominant language
HTML
Stars
6
Forks
8
Avg merge
2d 19h
Merged PRs (30d)
1

Description

Migrated from [DBZ-8732](https://issues.redhat.com/browse/DBZ-8732)

Currently, when async engine is shutting down or already shut down, {{IllegalStateException}} is thrown. Consider to throw more specific exception derived from {{DebeziumException}} to be able to clearly identify this is the case based on the exception type. This may be handy e.g. in Debezium server shutdown hook to safely skip such exception.
However, to be visible to external modules/projects like Debezium server, it would have to be added to Debezium API and not sure it it worth the such change.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.