Class ConfluentModule
- java.lang.Object
-
- io.airlift.configuration.AbstractConfigurationAwareModule
-
- io.trino.plugin.kafka.schema.confluent.ConfluentModule
-
- All Implemented Interfaces:
com.google.inject.Module,io.airlift.configuration.ConfigurationAwareModule
public class ConfluentModule extends io.airlift.configuration.AbstractConfigurationAwareModule
-
-
Constructor Summary
Constructors Constructor Description ConfluentModule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static io.confluent.kafka.schemaregistry.client.SchemaRegistryClientcreateSchemaRegistryClient(ConfluentSchemaRegistryConfig confluentConfig, Set<io.confluent.kafka.schemaregistry.SchemaProvider> schemaProviders, Set<SchemaRegistryClientPropertiesProvider> propertiesProviders, ClassLoader classLoader)protected voidsetup(com.google.inject.Binder binder)
-
-
-
Method Detail
-
setup
protected void setup(com.google.inject.Binder binder)
- Specified by:
setupin classio.airlift.configuration.AbstractConfigurationAwareModule
-
createSchemaRegistryClient
@Provides @Singleton public static io.confluent.kafka.schemaregistry.client.SchemaRegistryClient createSchemaRegistryClient(ConfluentSchemaRegistryConfig confluentConfig, Set<io.confluent.kafka.schemaregistry.SchemaProvider> schemaProviders, Set<SchemaRegistryClientPropertiesProvider> propertiesProviders, ClassLoader classLoader)
-
-