Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-8732

Throw more specific exception when Debezum engine shut down is in progress

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • 3.1-plan
    • 3.1.0.Alpha2
    • embedded-engine
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      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.

              vjuranek@redhat.com Vojtech Juranek
              vjuranek@redhat.com Vojtech Juranek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: