Comments (3)
Hi @teq0! Thanks for the issue. Yeap... it seems we don't handle the correctly arrays. We will update asap!
from schema-registry-ui.
The fix works for displaying existing schemas but it gives a validation era if you try to add one via the UI.
Switching to curl mode, the generated curl command works from a command line, and it then displays just fine.
Here's the exact schema I just tried:
[
{
"type": "record",
"name": "KafkaEventHeader",
"namespace": "com.example.kafka.core",
"doc": "Our standard kafka header",
"fields": [
{
"name": "correlationId",
"type": "string",
"doc": "Unique identifier e.g. GUID that is passed to other events created from this one so that we can track across processes"
},
{
"name": "processPath",
"type": [
"null",
{
"type": "array",
"items": {
"type": "record",
"name": "ProcessPathElement",
"doc": "Struct that contains info about each process step",
"fields": [
{
"name": "source",
"type": "string",
"doc": "Name of the processor that generated this event"
},
{
"name": "timestamp",
"type": "string"
}
],
"semVer": "1.0.0",
"docURL": "https://avro.example.com/kafka/core/ProcessPathElement/1.0.0"
}
}
],
"doc": "A breadcrumbs structure to help analyse the provenance of an event"
}
],
"semVer": "1.0.0",
"docURL": "https://avro.example.com/kafka/core/KafkaEventHeader/1.0.0"
},
{
"type": "record",
"name": "test4001_value",
"namespace": "com.example.customer",
"doc": "A person with a favourite colour",
"fields": [
{
"name": "header",
"type": "com.example.kafka.core.KafkaEventHeader"
},
{
"name": "userId",
"type": "string"
},
{
"name": "favoriteColour",
"type": "string"
}
],
"semVer": "1.0.0",
"docURL": "https://avro.example.com/kafka/customer/test4001-value/1.0.0"
}
]
from schema-registry-ui.
Schemas with arrays are still not supported in the UI, so I'm not sure why this issue has been closed.
from schema-registry-ui.
Related Issues (20)
- SSL
- Compatibility to latest schema registry version 5.5.0 HOT 5
- CONNECTIVITY ERROR in schema-registry-ui HOT 4
- ERR_INSUFFICIENT_RESOURCES when lots of subjects in registry HOT 3
- Unable to edit a given schema in UI
- UI says JSON field not valid but the schema works with schema-registry REST API
- Is this project abandoned? HOT 1
- Option to pass KEY and Secret for remote Schema registry is missing HOT 1
- Unable to start npm .. facing version isues with webpack ,dev-server HOT 1
- Prevent edit of schemas/update of compatibility from UI interface HOT 6
- UI is not work for Confluent oss 5.1.2?? HOT 3
- Build from source with CONNECTIVITY ERROR
- Frequency of requests to schema-registry
- Connect to a schema registry that is using basic auth HOT 1
- UI is painfully slow / chews CPU with a lot of schemas HOT 1
- Connectivity error with schema registry 5.2.1 HOT 13
- Cannot start app in read only mode HOT 4
- SCHEMAREGISTRY_URL bad coding practice
- License of this project? HOT 1
- Schema Registry with mTLS & ACLs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from schema-registry-ui.