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 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 c632dc0..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: 1536m ready: image: andrewlock/wait-for-dependencies 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 @@  - + diff --git a/src/Foundatio.Kafka/Foundatio.Kafka.csproj b/src/Foundatio.Kafka/Foundatio.Kafka.csproj index fb828f3..fe319e6 100644 --- a/src/Foundatio.Kafka/Foundatio.Kafka.csproj +++ b/src/Foundatio.Kafka/Foundatio.Kafka.csproj @@ -1,8 +1,8 @@ - + - + diff --git a/tests/Directory.Build.props b/tests/Directory.Build.props index 407c652..361b7cd 100644 --- a/tests/Directory.Build.props +++ b/tests/Directory.Build.props @@ -6,13 +6,13 @@ $(NoWarn);CS1591;NU1701 - - + + - + 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 bfcfd1b..ca4703a 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() {