From 3ecc20621d37cb64f69d2f833717fb512b83e298 Mon Sep 17 00:00:00 2001 From: Blake Niemyjski Date: Wed, 25 Sep 2024 22:18:46 -0500 Subject: [PATCH 1/8] Added missing tests --- docker-compose.yml | 2 +- .../Messaging/KafkaMessageBusTestBase.cs | 2 +- .../Foundatio.Kafka.Tests/Messaging/KafkaMessageBusTests.cs | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index c632dc0..956759f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,7 +30,7 @@ services: deploy: resources: limits: - memory: 1536m + memory: 2g ready: image: andrewlock/wait-for-dependencies diff --git a/tests/Foundatio.Kafka.Tests/Messaging/KafkaMessageBusTestBase.cs b/tests/Foundatio.Kafka.Tests/Messaging/KafkaMessageBusTestBase.cs index bb45885..1ad7477 100644 --- a/tests/Foundatio.Kafka.Tests/Messaging/KafkaMessageBusTestBase.cs +++ b/tests/Foundatio.Kafka.Tests/Messaging/KafkaMessageBusTestBase.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Foundatio.Messaging; using Foundatio.Tests.Messaging; diff --git a/tests/Foundatio.Kafka.Tests/Messaging/KafkaMessageBusTests.cs b/tests/Foundatio.Kafka.Tests/Messaging/KafkaMessageBusTests.cs index 4f8f2b9..f770a0f 100644 --- a/tests/Foundatio.Kafka.Tests/Messaging/KafkaMessageBusTests.cs +++ b/tests/Foundatio.Kafka.Tests/Messaging/KafkaMessageBusTests.cs @@ -105,6 +105,12 @@ public override void CanDisposeWithNoSubscribersOrPublishers() base.CanDisposeWithNoSubscribersOrPublishers(); } + [Fact] + public override Task CanSendMappedMessageAsync() + { + return base.CanSendMappedMessageAsync(); + } + [Fact] public async Task CanPersistAndNotLoseMessages() { From 3e1c2904dfc0424f10c5cd12c1d00b35c8a537fb Mon Sep 17 00:00:00 2001 From: Blake Niemyjski Date: Fri, 27 Sep 2024 12:20:16 -0500 Subject: [PATCH 2/8] Updated deps --- build/common.props | 2 +- docker-compose.yml | 4 ---- src/Foundatio.Kafka/Foundatio.Kafka.csproj | 2 +- tests/Directory.Build.props | 6 +++--- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/build/common.props b/build/common.props index 96c74eb..18e2186 100644 --- a/build/common.props +++ b/build/common.props @@ -39,7 +39,7 @@ - + diff --git a/docker-compose.yml b/docker-compose.yml index 956759f..57df1c0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,10 +27,6 @@ services: - KAFKA_CFG_TRANSACTION_STATE_LOG_REPLICATION_FACTOR=1 volumes: - "kafkadata:/bitnami" - deploy: - resources: - limits: - memory: 2g ready: image: andrewlock/wait-for-dependencies diff --git a/src/Foundatio.Kafka/Foundatio.Kafka.csproj b/src/Foundatio.Kafka/Foundatio.Kafka.csproj index fb828f3..6a935a8 100644 --- a/src/Foundatio.Kafka/Foundatio.Kafka.csproj +++ b/src/Foundatio.Kafka/Foundatio.Kafka.csproj @@ -2,7 +2,7 @@ - + diff --git a/tests/Directory.Build.props b/tests/Directory.Build.props index 407c652..34d681b 100644 --- a/tests/Directory.Build.props +++ b/tests/Directory.Build.props @@ -6,13 +6,13 @@ $(NoWarn);CS1591;NU1701 - - + + - + From 535038d07b356d4ff9bc18971b4b62b82430e904 Mon Sep 17 00:00:00 2001 From: Blake Niemyjski Date: Fri, 27 Sep 2024 18:36:56 -0500 Subject: [PATCH 3/8] Update Deps --- src/Foundatio.Kafka/Foundatio.Kafka.csproj | 2 +- tests/Directory.Build.props | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Foundatio.Kafka/Foundatio.Kafka.csproj b/src/Foundatio.Kafka/Foundatio.Kafka.csproj index 6a935a8..792aed7 100644 --- a/src/Foundatio.Kafka/Foundatio.Kafka.csproj +++ b/src/Foundatio.Kafka/Foundatio.Kafka.csproj @@ -2,7 +2,7 @@ - + diff --git a/tests/Directory.Build.props b/tests/Directory.Build.props index 34d681b..99d6211 100644 --- a/tests/Directory.Build.props +++ b/tests/Directory.Build.props @@ -12,7 +12,7 @@ - + From 74616f41344aca23d61c6beadbf985cdab83697d Mon Sep 17 00:00:00 2001 From: Blake Niemyjski Date: Sun, 13 Oct 2024 20:18:29 -0500 Subject: [PATCH 4/8] Added dependabot --- .github/dependabot.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..5c6b858 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: + +- package-ecosystem: nuget + directory: "/" + schedule: + interval: weekly From 2b31ab3f54ca48cd0f3b365cad0c362297008520 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 13 Oct 2024 20:38:20 -0500 Subject: [PATCH 5/8] Bump Microsoft.Extensions.Logging.Console from 8.0.0 to 8.0.1 (#10) Bumps [Microsoft.Extensions.Logging.Console](https://github.com/dotnet/runtime) from 8.0.0 to 8.0.1. - [Release notes](https://github.com/dotnet/runtime/releases) - [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1) --- updated-dependencies: - dependency-name: Microsoft.Extensions.Logging.Console dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- samples/Foundatio.Kafka.Publish/Foundatio.Kafka.Publish.csproj | 2 +- .../Foundatio.Kafka.Subscribe/Foundatio.Kafka.Subscribe.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/Foundatio.Kafka.Publish/Foundatio.Kafka.Publish.csproj b/samples/Foundatio.Kafka.Publish/Foundatio.Kafka.Publish.csproj index 457ab31..f768f87 100644 --- a/samples/Foundatio.Kafka.Publish/Foundatio.Kafka.Publish.csproj +++ b/samples/Foundatio.Kafka.Publish/Foundatio.Kafka.Publish.csproj @@ -1,6 +1,6 @@  - + diff --git a/samples/Foundatio.Kafka.Subscribe/Foundatio.Kafka.Subscribe.csproj b/samples/Foundatio.Kafka.Subscribe/Foundatio.Kafka.Subscribe.csproj index 0756645..7569d01 100644 --- a/samples/Foundatio.Kafka.Subscribe/Foundatio.Kafka.Subscribe.csproj +++ b/samples/Foundatio.Kafka.Subscribe/Foundatio.Kafka.Subscribe.csproj @@ -1,6 +1,6 @@  - + From fc6261c327d652392fbeb0315794d2d4e7b24c83 Mon Sep 17 00:00:00 2001 From: Blake Niemyjski Date: Fri, 22 Nov 2024 10:30:55 -0600 Subject: [PATCH 6/8] Updated test sdk --- tests/Directory.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Directory.Build.props b/tests/Directory.Build.props index 99d6211..361b7cd 100644 --- a/tests/Directory.Build.props +++ b/tests/Directory.Build.props @@ -6,7 +6,7 @@ $(NoWarn);CS1591;NU1701 - + From c6746564a50e364c77a7f3a99ad6526bd63b94c3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 Nov 2024 12:15:06 -0600 Subject: [PATCH 7/8] Bump Confluent.Kafka from 2.5.3 to 2.6.0 (#11) Bumps [Confluent.Kafka](https://github.com/confluentinc/confluent-kafka-dotnet) from 2.5.3 to 2.6.0. - [Release notes](https://github.com/confluentinc/confluent-kafka-dotnet/releases) - [Changelog](https://github.com/confluentinc/confluent-kafka-dotnet/blob/master/CHANGELOG.md) - [Commits](https://github.com/confluentinc/confluent-kafka-dotnet/compare/v2.5.3...v2.6.0) --- updated-dependencies: - dependency-name: Confluent.Kafka dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- src/Foundatio.Kafka/Foundatio.Kafka.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Foundatio.Kafka/Foundatio.Kafka.csproj b/src/Foundatio.Kafka/Foundatio.Kafka.csproj index 792aed7..e1c57de 100644 --- a/src/Foundatio.Kafka/Foundatio.Kafka.csproj +++ b/src/Foundatio.Kafka/Foundatio.Kafka.csproj @@ -1,6 +1,6 @@ - + From 747d62dc4beeaf24319e915450b6754be9941a7a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 13:49:29 -0600 Subject: [PATCH 8/8] Bump Confluent.Kafka from 2.6.0 to 2.6.1 (#13) Bumps [Confluent.Kafka](https://github.com/confluentinc/confluent-kafka-dotnet) from 2.6.0 to 2.6.1. - [Release notes](https://github.com/confluentinc/confluent-kafka-dotnet/releases) - [Changelog](https://github.com/confluentinc/confluent-kafka-dotnet/blob/master/CHANGELOG.md) - [Commits](https://github.com/confluentinc/confluent-kafka-dotnet/compare/v2.6.0...v2.6.1) --- updated-dependencies: - dependency-name: Confluent.Kafka dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- src/Foundatio.Kafka/Foundatio.Kafka.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Foundatio.Kafka/Foundatio.Kafka.csproj b/src/Foundatio.Kafka/Foundatio.Kafka.csproj index e1c57de..fe319e6 100644 --- a/src/Foundatio.Kafka/Foundatio.Kafka.csproj +++ b/src/Foundatio.Kafka/Foundatio.Kafka.csproj @@ -1,6 +1,6 @@ - +