xjc-kafka-connect-plugin

A pom for deploying to maven central.

Лицензия

Лицензия

Группа

Группа

com.github.jcustenborder.kafka.connect
Идентификатор

Идентификатор

xjc-kafka-connect-plugin
Последняя версия

Последняя версия

0.2.13
Дата

Дата

Тип

Тип

jar
Описание

Описание

xjc-kafka-connect-plugin
A pom for deploying to maven central.
Ссылка на сайт

Ссылка на сайт

https://github.com/jcustenborder/xjc-kafka-connect-plugin
Система контроля версий

Система контроля версий

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

Скачать xjc-kafka-connect-plugin

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.jcustenborder.kafka.connect/xjc-kafka-connect-plugin/ -->
<dependency>
    <groupId>com.github.jcustenborder.kafka.connect</groupId>
    <artifactId>xjc-kafka-connect-plugin</artifactId>
    <version>0.2.13</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.jcustenborder.kafka.connect/xjc-kafka-connect-plugin/
implementation 'com.github.jcustenborder.kafka.connect:xjc-kafka-connect-plugin:0.2.13'
// https://jarcasting.com/artifacts/com.github.jcustenborder.kafka.connect/xjc-kafka-connect-plugin/
implementation ("com.github.jcustenborder.kafka.connect:xjc-kafka-connect-plugin:0.2.13")
'com.github.jcustenborder.kafka.connect:xjc-kafka-connect-plugin:jar:0.2.13'
<dependency org="com.github.jcustenborder.kafka.connect" name="xjc-kafka-connect-plugin" rev="0.2.13">
  <artifact name="xjc-kafka-connect-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.jcustenborder.kafka.connect', module='xjc-kafka-connect-plugin', version='0.2.13')
)
libraryDependencies += "com.github.jcustenborder.kafka.connect" % "xjc-kafka-connect-plugin" % "0.2.13"
[com.github.jcustenborder.kafka.connect/xjc-kafka-connect-plugin "0.2.13"]

Зависимости

compile (9)

Идентификатор библиотеки Тип Версия
org.immutables : value jar 2.8.8
org.jvnet.jaxb2_commons : jaxb2-basics-tools jar 0.11.1
com.google.guava : guava jar 18.0
javax.xml.bind : jaxb-api jar 2.3.1
org.glassfish.jaxb : jaxb-runtime jar 2.3.1
org.glassfish.jaxb : jaxb-core jar 2.3.0.1
org.glassfish.jaxb : jaxb-xjc jar 2.3.1
com.github.spotbugs : spotbugs-annotations jar 4.0.1
javax.annotation : javax.annotation-api jar 1.3.2

provided (1)

Идентификатор библиотеки Тип Версия
org.slf4j : slf4j-api jar 1.7.21

test (5)

Идентификатор библиотеки Тип Версия
org.junit.jupiter : junit-jupiter-engine jar 5.0.0
org.junit.jupiter : junit-jupiter-api jar 5.0.0
org.mockito : mockito-core jar 1.10.19
ch.qos.logback : logback-classic jar 1.1.8
org.reflections : reflections jar 0.9.10

Модули Проекта

Данный проект не имеет модулей.

Introduction

xjc-kafka-connect-plugin is used to extend code generated by xjc. All type classes generated by xjc will be augmented to implement the Connectable interface. The following method is added to each of the classes that are generated by xjc. This will return a Struct that is populated with the graph of the object.

    @Override
    public Struct toConnectStruct() {
        Struct struct = new Struct(CONNECT_SCHEMA);
        struct.put("author", this.getAuthor());
        struct.put("title", this.getTitle());
        struct.put("genre", this.getGenre());
        struct.put("price", this.getPrice());
        if (null!= this.getPubDate()) {
            struct.put("pub_date", this.getPubDate().toGregorianCalendar(TimeZone.getTimeZone("UTC"), null, null).getTime());
        } else {
            struct.put("pub_date", null);
        }
        struct.put("review", this.getReview());
        struct.put("id", this.getId());
        return struct;
    }

Версии библиотеки

Версия
0.2.13
0.0.1.8
0.0.1.7
0.0.1.6
0.0.1.4
0.0.1.3
0.0.1.2