Search in sources :

Example 1 with IdGenerator

use of io.confluent.kafka.schemaregistry.id.IdGenerator in project schema-registry by confluentinc.

the class KafkaSchemaRegistry method identityGenerator.

protected IdGenerator identityGenerator(SchemaRegistryConfig config) {
    config.checkBootstrapServers();
    IdGenerator idGenerator = new IncrementalIdGenerator(this);
    idGenerator.configure(config);
    return idGenerator;
}
Also used : IdGenerator(io.confluent.kafka.schemaregistry.id.IdGenerator) IncrementalIdGenerator(io.confluent.kafka.schemaregistry.id.IncrementalIdGenerator) IncrementalIdGenerator(io.confluent.kafka.schemaregistry.id.IncrementalIdGenerator)

Aggregations

IdGenerator (io.confluent.kafka.schemaregistry.id.IdGenerator)1 IncrementalIdGenerator (io.confluent.kafka.schemaregistry.id.IncrementalIdGenerator)1