Skip to content

Commit

Permalink
332 comsngularkloadgenserializerprotobufserializer nullpointerexcepti…
Browse files Browse the repository at this point in the history
…on (#430)

* #332 Add Files Modified To Solve Exception

Added a trim statement to avoid problem when cast the schemas from classpath

* #332 Add get dependencies and build proto.

* #332 Add Test And Documentation

Removed some unused test files

* #332 Add Topic Name Strategy

* #332 Change image from kafka manager to newest version

Apparently the original project was renamed into cmak to avoid break the TOS of kafka having the kafka in the name of unofficial tool

* Get the schema name from the schema references of imported classes

* #332 Removed generator set up by TopicNameStrategy

* #332 refactor

* #332 refactor

* #332 refactor

* #332 updated pom version

* #332 fixes PR

* #332 fixes PR

* update pom

* Merge with Master

* #340 update dependencies

* #332 Adding google proto types

* #332 Fixing size serializer.

* #332 Include proto files in package

* #332 Fix styles and pom version

* #332 Fix styles and pom version

* #332 Fix styles and test

* #332 Fix styles

* #332 Try to process multi level protobuff dependencies

* #332 Try to process multi level protobuff dependencies

* #332 Fix jdk build version

* #332 Fix checkstyle issues

* #332 Fix Style

* #332 Fix Google dependencies

* #332 Fix Google dependencies

* #332 Fix generator calculation

* #332 Fix generator calculation

* #332 Merge with master.

* #332 Update POM.

* #332 Fix Protobuf Apicurio Extractor.

* #332 fix new version static error

* #332 fix new version static error

* #332 fix Generator creation

* #332 fix Random Object generation

* #332 fix Serializer generation

* #332 fix generator creation

* #332 add test

* Update pom.xml version and developers

* Update pom-maven-central.xml

---------

Co-authored-by: Adrian Lagartera <[email protected]>
Co-authored-by: Alfredo González Fernández <[email protected]>
Co-authored-by: David Hernández González <[email protected]>
Co-authored-by: Jan Duinkerken Rodríguez <[email protected]>
  • Loading branch information
5 people authored May 3, 2024
1 parent 2600c6d commit 4540f78
Show file tree
Hide file tree
Showing 14 changed files with 434 additions and 328 deletions.
142 changes: 80 additions & 62 deletions pom-maven-central.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<artifactId>kloadgen</artifactId>

<version>5.6.10</version>
<version>5.6.13</version>

<name>KLoadGen</name>
<description>Load Generation Jmeter plugin for Kafka Cluster. Supporting AVRO, JSON Schema and Protobuf schema types. Generate Artificial
Expand Down Expand Up @@ -306,12 +306,55 @@
<name>Roberto Riveira Veiga</name>
<email>[email protected]</email>
<organization>Sngular</organization>
<organizationUrl>https://www.sngular.com</organizationUrl>
<roles>
<role>Trainee Backend Developer</role>
</roles>
</developer>
<developer>
<id>GraciMndzSNG</id>
<name>Graciela Méndez Olmos</name>
<email>[email protected]</email>
<organization>Sngular</organization>
<organizationUrl>https://sngular.github.io/</organizationUrl>
<roles>
<role>Backend Developer</role>
</roles>
<timezone>Europe/Madrid</timezone>
</developer>
<developer>
<id>pablorodriguez-sngular</id>
<name>Pablo Rodríguez Pérez</name>
<email>[email protected]</email>
<organization>Sngular</organization>
<organizationUrl>https://sngular.github.io/</organizationUrl>
<roles>
<role>Backend Developer</role>
</roles>
<timezone>Europe/Madrid</timezone>
</developer>
<developer>
<id>JanDuinRod</id>
<name>Jan Duinkerken Rodríguez</name>
<email>[email protected]</email>
<organization>Sngular</organization>
<organizationUrl>https://sngular.github.io</organizationUrl>
<roles>
<role>Fullstack Developer</role>
</roles>
<timezone>Europe/Madrid</timezone>
</developer>
<developer>
<id>davidgayoso</id>
<name>David Gayoso Salvado</name>
<email>[email protected]</email>
<organization>Sngular</organization>
<organizationUrl>https://sngular.github.io</organizationUrl>
<roles>
<role>Fullstack Developer</role>
</roles>
<timezone>Europe/Madrid</timezone>
</developer>
</developers>

<scm>
Expand All @@ -335,7 +378,7 @@
<assertj-core.version>3.24.2</assertj-core.version>
<assertj-json.version>1.2.0</assertj-json.version>
<jsonassert.version>1.5.1</jsonassert.version>
<avro.version>1.11.2</avro.version>
<avro.version>1.11.3</avro.version>
<commons-beanutils.version>1.9.4</commons-beanutils.version>
<commons-collections4.version>4.4</commons-collections4.version>
<commons-lang3.version>3.12.0</commons-lang3.version>
Expand All @@ -344,20 +387,21 @@
<jaxb-api.version>2.4.0-b180830.0359</jaxb-api.version>
<jdk.version>17</jdk.version>
<jmeter.lib.scope>provided</jmeter.lib.scope>
<jmeter.version>5.6.2</jmeter.version>
<json-path.version>2.6.0</json-path.version>
<junit-jupiter-api.version>5.8.2</junit-jupiter-api.version>
<kafka-schema-registry-client.version>7.1.1</kafka-schema-registry-client.version>
<apicurio-registry.version>2.4.3.Final</apicurio-registry.version>
<kafka.version>3.5.1</kafka.version>
<jmeter.version>5.6.3</jmeter.version>
<json-path.version>2.9.0</json-path.version>
<junit-jupiter-api.version>5.10.1</junit-jupiter-api.version>
<kafka-schema-registry-client.version>7.5.1</kafka-schema-registry-client.version>
<apicurio-registry.version>2.5.8.Final</apicurio-registry.version>
<kafka.version>3.6.1</kafka.version>
<lombok.version>1.18.22</lombok.version>
<minimal-json.version>0.9.5</minimal-json.version>
<mockito-core.version>4.2.0</mockito-core.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<rest-assured.version>4.5.0</rest-assured.version>
<slf4j-api.version>2.0.0-alpha1</slf4j-api.version>
<slf4j-api.version>2.0.11</slf4j-api.version>
<wiremock-junit5.version>1.3.1</wiremock-junit5.version>
<wiremock.version>2.35.1</wiremock.version>
<jackson-core.version>2.15.2</jackson-core.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -385,22 +429,21 @@
<groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId>
<version>${avro.version}</version>
<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.24.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.15.2</version>
<version>${jackson-core.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.15.2</version>
<version>${jackson-core.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
Expand All @@ -413,16 +456,6 @@
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3.version}</version>
</dependency>
<dependency>
<groupId>io.confluent</groupId>
<artifactId>kafka-schema-registry-client</artifactId>
<version>${kafka-schema-registry-client.version}</version>
</dependency>
<dependency>
<groupId>io.confluent</groupId>
<artifactId>kafka-avro-serializer</artifactId>
<version>${kafka-schema-registry-client.version}</version>
</dependency>
<dependency>
<groupId>io.confluent</groupId>
<artifactId>kafka-json-serializer</artifactId>
Expand Down Expand Up @@ -455,6 +488,16 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-common</artifactId>
<version>1.8.20</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>1.8.20</version>
</dependency>
<dependency>
<groupId>io.apicurio</groupId>
<artifactId>apicurio-registry-serdes-avro-serde</artifactId>
Expand All @@ -478,7 +521,7 @@
<dependency>
<groupId>org.apache.avro</groupId>
<artifactId>avro-protobuf</artifactId>
<version>1.11.2</version>
<version>1.11.3</version>
</dependency>
<dependency>
<groupId>com.github.os72</groupId>
Expand All @@ -488,18 +531,18 @@
<dependency>
<groupId>com.squareup.wire</groupId>
<artifactId>wire-java-generator</artifactId>
<version>4.0.1</version>
<version>4.9.0</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-common-protos</artifactId>
<version>2.24.0</version>
<version>2.30.0</version>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>3.24.3</version>
<version>3.25.1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand All @@ -520,7 +563,7 @@
<dependency>
<groupId>com.github.curious-odd-man</groupId>
<artifactId>rgxgen</artifactId>
<version>1.3</version>
<version>1.4</version>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
Expand All @@ -536,7 +579,7 @@
<dependency>
<groupId>com.github.charithe</groupId>
<artifactId>kafka-junit</artifactId>
<version>4.2.0</version>
<version>4.2.1</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -669,7 +712,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.3.0</version>
<version>3.2.0</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
Expand All @@ -686,6 +729,7 @@
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<configLocation>checkstyle.xml</configLocation>
<encoding>UTF-8</encoding>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<linkXRef>false</linkXRef>
Expand Down Expand Up @@ -716,7 +760,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.9.0</version>
<version>3.10.0</version>
<configuration>
<optimize>true</optimize>
<showDeprecation>true</showDeprecation>
Expand All @@ -725,32 +769,6 @@
<target>${jdk.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
Expand Down Expand Up @@ -781,7 +799,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.1.2</version>
<version>3.2.2</version>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
Expand Down
Loading

0 comments on commit 4540f78

Please sign in to comment.