Class RegisterSchemaRegistryMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.confluent.kafka.schemaregistry.maven.SchemaRegistryMojo
io.confluent.kafka.schemaregistry.maven.UploadSchemaRegistryMojo
io.confluent.kafka.schemaregistry.maven.RegisterSchemaRegistryMojo
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="register",
configurator="custom-basic")
public class RegisterSchemaRegistryMojo
extends UploadSchemaRegistryMojo
-
Field Summary
Fields inherited from class io.confluent.kafka.schemaregistry.maven.UploadSchemaRegistryMojo
PERCENT_REPLACEMENTFields inherited from class io.confluent.kafka.schemaregistry.maven.SchemaRegistryMojo
clientFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprocessSchema(String subject, File schemaPath, ParsedSchema schema, Map<String, Integer> schemaVersions) Methods inherited from class io.confluent.kafka.schemaregistry.maven.UploadSchemaRegistryMojo
decode, decode, decodeMetadata, execute, failureMessageMethods inherited from class io.confluent.kafka.schemaregistry.maven.SchemaRegistryMojo
client, closeMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
RegisterSchemaRegistryMojo
public RegisterSchemaRegistryMojo()
-
-
Method Details
-
processSchema
protected boolean processSchema(String subject, File schemaPath, ParsedSchema schema, Map<String, Integer> schemaVersions) throws IOException, RestClientException- Specified by:
processSchemain classUploadSchemaRegistryMojo- Throws:
IOExceptionRestClientException
-