AbsaOSS / AbsaOSS/ABRiS

Question: Is it possible to override/remove the -value suffix from subject names when using Confluent Schema Registry?

Đang mở
#371 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Scala
Star
242
Fork
84
Merge trung bình
10 giờ 12 phút
Pull request đã merge (30 ngày)
2

Mô tả

Hi Abris team,

I’m running into a problem deserializing Avro data using Abris and Confluent Schema Registry.
Some of my Kafka topics are integrated with external systems, and their schemas are registered in the registry with custom subject names—they do not follow the {topic}-value or {topic}-key convention, and they don’t have the -value suffix at all (e.g., the subject might just be my_custom_schema).

When I try to read these topics using Abris, the deserializer seems to always look for the schema using the {subject}-value naming pattern, so it cannot find or match these custom subjects.
This is blocking us from consuming messages from those topics.

My question is:

Is there any way to configure Abris so that it can fetch and use a schema subject name as-is (without appending -value) during deserialization?

If not, are there any recommended approaches or workarounds for consuming data when the subject naming in Schema Registry does not follow the default pattern?

Unfortunately, I’m unable to change how the schemas are registered on the external system’s side, so I’m looking for a way to make Abris flexible on this point.

Thanks for your help!

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.