From 4fd05a54b2871bc233c885a5ee239fdd8550903b Mon Sep 17 00:00:00 2001
From: masesdevelopers <94312179+masesdevelopers@users.noreply.github.com>
Date: Thu, 10 Mar 2022 02:37:51 +0100
Subject: [PATCH 1/8] Reduced download time from repo
---
.github/workflows/build.yaml | 1 +
.github/workflows/pullrequest.yaml | 1 +
.github/workflows/release.yaml | 1 +
3 files changed, 3 insertions(+)
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index c116e3a1b9..473f535787 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -55,6 +55,7 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
with:
+ fetch-depth: '1'
submodules: 'true'
- name: Cache local Maven repository
diff --git a/.github/workflows/pullrequest.yaml b/.github/workflows/pullrequest.yaml
index 44bab1979c..20fbf8f957 100644
--- a/.github/workflows/pullrequest.yaml
+++ b/.github/workflows/pullrequest.yaml
@@ -23,6 +23,7 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
with:
+ fetch-depth: '1'
submodules: 'true'
- name: Cache local Maven repository
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index be208d7496..e10879e4fb 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -25,6 +25,7 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
with:
+ fetch-depth: '1'
submodules: 'true'
- name: Pre compile
From ecad29c9164778c3d8cb5a8559008af9bc76f076 Mon Sep 17 00:00:00 2001
From: masesdevelopers <94312179+masesdevelopers@users.noreply.github.com>
Date: Thu, 10 Mar 2022 17:37:50 +0100
Subject: [PATCH 2/8] Version upgrade
---
src/java/kafkabridge/pom.xml | 2 +-
src/net/KafkaBridge/KafkaBridge.csproj | 2 +-
src/net/KafkaBridgeCLI/KafkaBridgeCLI.csproj | 2 +-
src/net/KafkaBridgeCLI/KafkaBridgeCLI.nuspec | 2 +-
src/net/templates/templatepack.csproj | 2 +-
.../kafkabridgeConsumerApp/kafkabridgeConsumerApp.csproj | 2 +-
.../kafkabridgePipeStreamApp/kafkabridgePipeStreamApp.csproj | 2 +-
.../kafkabridgeProducerApp/kafkabridgeProducerApp.csproj | 2 +-
tests/KafkaBridgeTest/KafkaBridgeTest.csproj | 2 +-
tests/KafkaBridgeTestAdmin/KafkaBridgeTestAdmin.csproj | 2 +-
tests/KafkaBridgeTestStreams/KafkaBridgeTestStreams.csproj | 2 +-
11 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/java/kafkabridge/pom.xml b/src/java/kafkabridge/pom.xml
index 57a145e280..c0cf5bd53e 100644
--- a/src/java/kafkabridge/pom.xml
+++ b/src/java/kafkabridge/pom.xml
@@ -9,7 +9,7 @@
mases.kafkabridge
Apache Kafka interface bridging implementation
https://github.com/masesgroup/KafkaBridge
- 1.1.10.0
+ 1.1.11.0
diff --git a/src/net/KafkaBridge/KafkaBridge.csproj b/src/net/KafkaBridge/KafkaBridge.csproj
index 5d121ac8fb..c2d585c329 100644
--- a/src/net/KafkaBridge/KafkaBridge.csproj
+++ b/src/net/KafkaBridge/KafkaBridge.csproj
@@ -9,7 +9,7 @@
MASES s.r.l.
MASES s.r.l.
MASES s.r.l.
- 1.1.10.0
+ 1.1.11.0
KafkaBridge
true
net461;netcoreapp3.1;net5.0;net6.0
diff --git a/src/net/KafkaBridgeCLI/KafkaBridgeCLI.csproj b/src/net/KafkaBridgeCLI/KafkaBridgeCLI.csproj
index 691cc4aaca..c19aa4daa4 100644
--- a/src/net/KafkaBridgeCLI/KafkaBridgeCLI.csproj
+++ b/src/net/KafkaBridgeCLI/KafkaBridgeCLI.csproj
@@ -10,7 +10,7 @@
MASES s.r.l.
MASES s.r.l.
MASES s.r.l.
- 1.1.10.0
+ 1.1.11.0
KafkaBridgeCLI
true
net461;netcoreapp3.1;net5.0;net6.0
diff --git a/src/net/KafkaBridgeCLI/KafkaBridgeCLI.nuspec b/src/net/KafkaBridgeCLI/KafkaBridgeCLI.nuspec
index 8c7d82526f..7e68af14bf 100644
--- a/src/net/KafkaBridgeCLI/KafkaBridgeCLI.nuspec
+++ b/src/net/KafkaBridgeCLI/KafkaBridgeCLI.nuspec
@@ -2,7 +2,7 @@
MASES.KafkaBridgeCLI
- 1.1.10
+ 1.1.11
KafkaBridgeCLI - CLI interface of KafkaBridge
MASES s.r.l.
MASES s.r.l.
diff --git a/src/net/templates/templatepack.csproj b/src/net/templates/templatepack.csproj
index 350ea8918a..d32a6f996a 100644
--- a/src/net/templates/templatepack.csproj
+++ b/src/net/templates/templatepack.csproj
@@ -1,7 +1,7 @@
Template
- 1.1.10.0
+ 1.1.11.0
MASES.KafkaBridge.Templates
KafkaBridge Templates - Templates to use the KafkaBridge
MASES s.r.l.
diff --git a/src/net/templates/templates/kafkabridgeConsumerApp/kafkabridgeConsumerApp.csproj b/src/net/templates/templates/kafkabridgeConsumerApp/kafkabridgeConsumerApp.csproj
index 662db80f5c..8bc4220306 100644
--- a/src/net/templates/templates/kafkabridgeConsumerApp/kafkabridgeConsumerApp.csproj
+++ b/src/net/templates/templates/kafkabridgeConsumerApp/kafkabridgeConsumerApp.csproj
@@ -12,6 +12,6 @@
-
+
diff --git a/src/net/templates/templates/kafkabridgePipeStreamApp/kafkabridgePipeStreamApp.csproj b/src/net/templates/templates/kafkabridgePipeStreamApp/kafkabridgePipeStreamApp.csproj
index 662db80f5c..8bc4220306 100644
--- a/src/net/templates/templates/kafkabridgePipeStreamApp/kafkabridgePipeStreamApp.csproj
+++ b/src/net/templates/templates/kafkabridgePipeStreamApp/kafkabridgePipeStreamApp.csproj
@@ -12,6 +12,6 @@
-
+
diff --git a/src/net/templates/templates/kafkabridgeProducerApp/kafkabridgeProducerApp.csproj b/src/net/templates/templates/kafkabridgeProducerApp/kafkabridgeProducerApp.csproj
index 662db80f5c..8bc4220306 100644
--- a/src/net/templates/templates/kafkabridgeProducerApp/kafkabridgeProducerApp.csproj
+++ b/src/net/templates/templates/kafkabridgeProducerApp/kafkabridgeProducerApp.csproj
@@ -12,6 +12,6 @@
-
+
diff --git a/tests/KafkaBridgeTest/KafkaBridgeTest.csproj b/tests/KafkaBridgeTest/KafkaBridgeTest.csproj
index 4de65f5acd..57111246ad 100644
--- a/tests/KafkaBridgeTest/KafkaBridgeTest.csproj
+++ b/tests/KafkaBridgeTest/KafkaBridgeTest.csproj
@@ -8,7 +8,7 @@
Copyright © MASES s.r.l. 2022
MASES s.r.l.
MASES s.r.l.
- 1.1.10.0
+ 1.1.11.0
net461;netcoreapp3.1;net5.0;net6.0
..\..\bin\
latest
diff --git a/tests/KafkaBridgeTestAdmin/KafkaBridgeTestAdmin.csproj b/tests/KafkaBridgeTestAdmin/KafkaBridgeTestAdmin.csproj
index b0fe26f1e4..0fcc372133 100644
--- a/tests/KafkaBridgeTestAdmin/KafkaBridgeTestAdmin.csproj
+++ b/tests/KafkaBridgeTestAdmin/KafkaBridgeTestAdmin.csproj
@@ -8,7 +8,7 @@
Copyright © MASES s.r.l. 2022
MASES s.r.l.
MASES s.r.l.
- 1.1.10.0
+ 1.1.11.0
net461;netcoreapp3.1;net5.0;net6.0
..\..\bin\
latest
diff --git a/tests/KafkaBridgeTestStreams/KafkaBridgeTestStreams.csproj b/tests/KafkaBridgeTestStreams/KafkaBridgeTestStreams.csproj
index 1e8b2aac66..52afad8683 100644
--- a/tests/KafkaBridgeTestStreams/KafkaBridgeTestStreams.csproj
+++ b/tests/KafkaBridgeTestStreams/KafkaBridgeTestStreams.csproj
@@ -8,7 +8,7 @@
Copyright © MASES s.r.l. 2022
MASES s.r.l.
MASES s.r.l.
- 1.1.10.0
+ 1.1.11.0
net461;netcoreapp3.1;net5.0;net6.0
..\..\bin\
latest
From 9e679501721f200a1680d89dbf87621abfec7b5d Mon Sep 17 00:00:00 2001
From: masesdevelopers <94312179+masesdevelopers@users.noreply.github.com>
Date: Mon, 14 Mar 2022 22:05:54 +0100
Subject: [PATCH 3/8] Class fix
---
.../Clients/Consumer/ConsumerRecords.cs | 21 ++++++++++++++++---
.../Clients/Consumer/KafkaConsumer.cs | 19 +++++++++++------
.../Clients/Producer/KafkaProducer.cs | 21 ++++++++++++-------
.../Streams/KafkaClientSupplier.cs | 10 ++++-----
.../BridgedClasses/Streams/KafkaStreams.cs | 2 +-
.../Streams/StoreQueryParameters.cs | 1 -
6 files changed, 51 insertions(+), 23 deletions(-)
diff --git a/src/net/KafkaBridge/ClientSide/BridgedClasses/Clients/Consumer/ConsumerRecords.cs b/src/net/KafkaBridge/ClientSide/BridgedClasses/Clients/Consumer/ConsumerRecords.cs
index cad5954602..562f1009bd 100644
--- a/src/net/KafkaBridge/ClientSide/BridgedClasses/Clients/Consumer/ConsumerRecords.cs
+++ b/src/net/KafkaBridge/ClientSide/BridgedClasses/Clients/Consumer/ConsumerRecords.cs
@@ -16,15 +16,30 @@
* Refer to LICENSE for more information.
*/
+using Java.Lang;
+using Java.Util;
+using MASES.KafkaBridge.Common;
+
namespace MASES.KafkaBridge.Clients.Consumer
{
public class ConsumerRecords : JCOBridge.C2JBridge.JVMBridgeBaseEnumerable, ConsumerRecord>
{
public override string ClassName => "org.apache.kafka.clients.consumer.ConsumerRecords";
- }
- public class ConsumerRecords : ConsumerRecords