You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to the latest version (7.7.1), we noticed that the previous InvalidConfigurationException has been replaced by a SerializationException containing a RestClientException.
This introduces a regression in my project in how schema compatibility issues are handled.
Previously, the KafkaAvroSerializer would throw an InvalidConfigurationException when encountering a critical configuration issue, such as schema incompatibility (409).
After the upgrade, the same scenario now throws a SerializationException, which wraps a RestClientException.
Our current workaround involves catching the SerializationException and inspecting the RestClientException for error code. However, this feels like a less elegant solution compared to the prior approach with InvalidConfigurationException.
The text was updated successfully, but these errors were encountered:
Hi,
After upgrading to the latest version (7.7.1), we noticed that the previous
InvalidConfigurationException
has been replaced by aSerializationException
containing aRestClientException
.This introduces a regression in my project in how schema compatibility issues are handled.
Previously, the
KafkaAvroSerializer
would throw anInvalidConfigurationException
when encountering a critical configuration issue, such as schema incompatibility (409).After the upgrade, the same scenario now throws a
SerializationException
, which wraps aRestClientException
.Our current workaround involves catching the
SerializationException
and inspecting theRestClientException
for error code. However, this feels like a less elegant solution compared to the prior approach withInvalidConfigurationException
.The text was updated successfully, but these errors were encountered: