kafka-connect-maven-plugin

A pom for deploying to maven central.

License

License

Apache License 2.0
Categories

Categories

Maven Build Tools
GroupId

GroupId

com.github.jcustenborder.maven.plugins
ArtifactId

ArtifactId

kafka-connect-maven-plugin
Last Version

Last Version

0.1.2
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

kafka-connect-maven-plugin
A pom for deploying to maven central.
Project URL

Project URL

https://github.com/jcustenborder/kafka-connect-maven-plugin
Source Code Management

Source Code Management

https://github.com/jcustenborder/kafka-connect-maven-plugin

Download kafka-connect-maven-plugin

How to add to project

<plugin>
    <groupId>com.github.jcustenborder.maven.plugins</groupId>
    <artifactId>kafka-connect-maven-plugin</artifactId>
    <version>0.1.2</version>
</plugin>

Dependencies

compile (6)

Group / Artifact Type Version
com.google.guava : guava jar 27.0.1-jre
org.apache.kafka : kafka-clients jar 2.1.0
com.helger : jcodemodel jar 3.2.1
com.fasterxml.jackson.datatype : jackson-datatype-guava jar [2.9.9,)
com.fasterxml.jackson.core : jackson-databind jar [2.9.9,)
org.apache.maven.shared : file-management jar 3.0.0

provided (4)

Group / Artifact Type Version
org.immutables : value jar 2.7.4
org.apache.maven : maven-plugin-api jar 3.6.0
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.6.0
org.apache.maven : maven-model jar 3.6.0

test (4)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-engine jar 5.4.0
org.junit.jupiter : junit-jupiter-api jar 5.4.0
org.mockito : mockito-core jar 2.6.3
ch.qos.logback : logback-classic jar 1.1.8

Project Modules

There are no modules declared in this project.

Introduction

This project is used to generate configuration classes for Kafka Connect Plugins.

Extended types

The generator allows configuration items to be tagged with extended types which are used when the generator is defining the member variable of the config class.

Enum

{
  "configKey": "enum.test",
  "type": "STRING",
  "documentation": "Location of the Java keystore to use.",
  "importance": "HIGH",
  "width": "MEDIUM",
  "extendedType": "Enum",
  "enumType": "TestEnum",
  "enumValues": [
    "First",
    "Second",
    "Third"
  ]
}

The above configuration generates this config.

private final EnumSourceConnectorConfig.TestEnum sslEnumTest;

/**
 * Location of the Java keystore to use.
 * 
 * @return
 *     Location of the Java keystore to use.
 */
public EnumSourceConnectorConfig.TestEnum sslEnumTest() {
    return this.sslEnumTest;
}

public enum TestEnum {
    Second,
    Third,
    First;
}

Uri

{
  "configKey": "uri.test",
  "type": "STRING",
  "documentation": "Location of the Java keystore to use.",
  "importance": "HIGH",
  "width": "MEDIUM",
  "extendedType": "Uri"
}
{
  "configKey": "uris.test",
  "type": "LIST",
  "documentation": "Location of the Java keystore to use.",
  "importance": "HIGH",
  "width": "MEDIUM",
  "extendedType": "Uri"
}
    private final URI sslUriTest;
    private final List<URI> sslUrisTest;
    
    /**
     * Location of the Java keystore to use.
     * 
     * @return
     *     Location of the Java keystore to use.
     */
    public URI sslUriTest() {
        return this.sslUriTest;
    }

    /**
     * Location of the Java keystore to use.
     * 
     * @return
     *     Location of the Java keystore to use.
     */
    public List<URI> sslUrisTest() {
        return this.sslUrisTest;
    }    

Url

HostAndPort

Charset

Pattern

Set

PasswordBytes

PasswordCharArray

PasswordString

KeyStore

KeyManagerFactory

TrustManagerFactory

SSLContext

File

Versions

Version
0.1.2
0.1.1