Dmitry Ibragimov created NIFI-8296:
--------------------------------------
Summary: Integration with API to retrieve all subjects associated
with a schema id for Confluent Schema Registry v5.4.0+
Key: NIFI-8296
URL: https://issues.apache.org/jira/browse/NIFI-8296
Project: Apache NiFi
Issue Type: Improvement
Components: Extensions
Reporter: Dmitry Ibragimov
Confluent schema registry version 5.4.0 implements new API for retrieve schema
name by id:
[https://github.com/confluentinc/schema-registry/pull/1196]
Currently NiFi loops over all schemas registered in registry. For registries
with big count of schemas it can be so long.
[https://github.com/apache/nifi/blob/e2e137fced39f184e5998f7c4befe03e70f53016/nifi-nar-bundles/nifi-confluent-platform-bundle/nifi-confluent-schema-registry-service/src/main/java/org/apache/nifi/confluent/schemaregistry/client/RestSchemaRegistryClient.java#L111|https://github.com/apache/nifi/blob/ff93ec42c3730f1ba8acc4843e8504f2ff47a5cf/nifi-nar-bundles/nifi-confluent-platform-bundle/nifi-confluent-schema-registry-service/src/main/java/org/apache/nifi/confluent/schemaregistry/client/RestSchemaRegistryClient.java#L111]
Need to implement this feature - it will gave us a huge increase of performance
for consuming using registry with large amount of schemas.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)