Throw more specific exception when Debezum engine shut down is in progress [DBZ-8732]
Open
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
Assessment
This issue has not been assessed yet.