redpanda-data / redpanda

Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM!
https://redpanda.com
9.43k stars 579 forks source link

Schema Registry features meta-issue #1878

Open BenPope opened 3 years ago

BenPope commented 3 years ago

Schema Registry is a work in progress, below is a list of features that we are aware of, and whether they have been implemented.

Endpoints

Endpoints on SwaggerHub

JIRA Link: CORE-692

raphaelauv commented 3 years ago

Exposing the "timestamp" of the publication of the schema in the endpoints would be a nice feature since this info is available in the Kafka topic

-> https://github.com/confluentinc/schema-registry/issues/1899

emaxerrno commented 3 years ago

Exposing the "timestamp" of the publication of the schema in the endpoints would be a nice feature since this info is available in the Kafka topic

-> confluentinc/schema-registry#1899

This is a nice idea. We should.

dbwrangler commented 2 years ago

When do you expect the 'referencedby' endpoint to be available and I'm guessing your protobuf implementation is already reliant on working with schema references?

BenPope commented 2 years ago

When do you expect the 'referencedby' endpoint to be available and I'm guessing your protobuf implementation is already reliant on working with schema references?

@dbwrangler References are hooked up internally for Protobuf (see the blog post), so that should all work. For Avro, the references will be stored internally, but imports aren't actually working yet.

It's not yet planned, but since you asked nicely, I'll knock out referencedBy for you one evening, hopefully it'll be in the next release.

JayGhiya commented 2 years ago

Does schema registry work with confluent serialization library which does registration /serialization/deserialization. Using KafkaAvroSerializer and schema registry url through AbstractKafkaSchemaSerDeConfig.SCHEMA_REGISTRY_URL_CONFIG?

BenPope commented 2 years ago

Does schema registry work with confluent serialization library which does registration /serialization/deserialization. Using KafkaAvroSerializer and schema registry url through AbstractKafkaSchemaSerDeConfig.SCHEMA_REGISTRY_URL_CONFIG?

Yes, that's the intention. Currently it doesn't support references for AVRO.

JayGhiya commented 2 years ago

Thought so tried did not work. What Is the eta on this? So right now we can make it work by doing a byte array serialise and deserialise. Correct ?

On 16-Jan-2022, at 7:34 PM, Ben Pope @.***> wrote:

Does schema registry work with confluent serialization library which does registration /serialization/deserialization. Using KafkaAvroSerializer and schema registry url through AbstractKafkaSchemaSerDeConfig.SCHEMA_REGISTRY_URL_CONFIG?

Yes, that's the intention. Currently it doesn't support references for AVRO.

— Reply to this email directly, view it on GitHub https://github.com/vectorizedio/redpanda/issues/1878#issuecomment-1013882140, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF5IO3KVMRLDEPX4XBGIUV3UWLF7HANCNFSM5A34R5PA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.

BenPope commented 2 years ago

When do you expect the 'referencedby' endpoint to be available and I'm guessing your protobuf implementation is already reliant on working with schema references?

@dbwrangler - v21.11.3 has been released with the endpoint.

JayGhiya commented 2 years ago

Guys so is there any eta on getting json schema support?

jakthom commented 2 years ago

+1, would <3 jsonschema support.

dangoslen commented 2 years ago

Are there plans to have a UI for this for fully managed Redpanda?

vuldin commented 2 years ago

Are there plans to have a UI for this for fully managed Redpanda?

There are definitely plans, but I don't know what the timeline is. Another related feature is schema registry support within the rpk CLI. I'll post once I find more details on the plan and timeline for schema registry UI.

raphaelauv commented 2 years ago

@dangoslen -> https://redpanda.com/blog/redpanda-acquires-cloudhut-kowl-data-streaming-kafka-ui/

robgtaylor commented 2 years ago

Are there plans to introduce a feature like Confluent's broker-side schema validation ? This returns an error to a producer when they write a message to a topic with a schema if the message doesn't validate against the schema. It prevents non-compliant messages being written to topics:

https://docs.confluent.io/platform/current/schema-registry/schema-validation.html