DataCater / datacater

The developer-friendly ETL platform for transforming data in real-time. Based on Apache Kafka® and Kubernetes®.
https://datacater.io
Other
82 stars 4 forks source link

fix(api/streams): Return Kafka errors #192

Closed flippingbits closed 1 year ago

flippingbits commented 1 year ago

When creating or updating a stream, our API endpoints should return errors related to the connection with the associated Apache Kafka broker to the user, e.g., if the replication factor is too high.

I had to switch from redpanda to kafka-native as the provider of the Kafka dev service because I was running into compatibility issues that are now being returned by API calls. The following exception has been thrown while using redpanda:

class java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.UnsupportedVersionException: Topic metadata and configs in CreateTopics response not supported

Fixes #128

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

30.8% 30.8% Coverage
0.0% 0.0% Duplication