This is an automated email from the ASF dual-hosted git repository.
blankensteiner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-dotpulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 020639a Updated NuGet packages and documentation
020639a is described below
commit 020639afb4375405258652e89e516a7145cfc26d
Author: Daniel Blankensteiner <[email protected]>
AuthorDate: Fri Aug 18 08:32:20 2023 +0200
Updated NuGet packages and documentation
---
CHANGELOG.md | 6 +++---
src/DotPulsar/Abstractions/IGetLastMessageId.cs | 4 ++--
src/DotPulsar/Abstractions/IGetLastMessageIds.cs | 5 ++---
tests/DotPulsar.Tests/DotPulsar.Tests.csproj | 7 ++++---
4 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d1924d3..1b9b5ae 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,11 +8,11 @@ The format is based on [Keep a
Changelog](https://keepachangelog.com/en/1.1.0/)
### Added
-- Added partitioned topic support for the Consumer and Reader
-- MessageId now includes an extra field for setting the topic
+- Added partitioned topic support for the Consumer and Reader (was already
implemented for the Producer)
+- MessageId now includes an extra field for the topic
- Support for `ProducerAccessMode` to prevent multiple producers on a single
topic
- A new `Fenced` state for producers which is a final state
-- The ability to explicitly set compression information on an outgoing message
using `MessageMetadata`
+- The ability to explicitly set compression information on an outgoing message
using `MessageMetadata` (for sending pre-compressed messages)
### Changed
diff --git a/src/DotPulsar/Abstractions/IGetLastMessageId.cs
b/src/DotPulsar/Abstractions/IGetLastMessageId.cs
index e404089..22f579b 100644
--- a/src/DotPulsar/Abstractions/IGetLastMessageId.cs
+++ b/src/DotPulsar/Abstractions/IGetLastMessageId.cs
@@ -1,4 +1,4 @@
-/*
+/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -24,7 +24,7 @@ using System.Threading.Tasks;
public interface IGetLastMessageId
{
/// <summary>
- /// Get the MessageId of the last message on the topic.
+ /// Get the message id of the last message on the topic.
/// </summary>
[Obsolete("GetLastMessageId is obsolete. Please use GetLastMessageIds
instead.")]
ValueTask<MessageId> GetLastMessageId(CancellationToken cancellationToken
= default);
diff --git a/src/DotPulsar/Abstractions/IGetLastMessageIds.cs
b/src/DotPulsar/Abstractions/IGetLastMessageIds.cs
index 1d221a8..980f5d6 100644
--- a/src/DotPulsar/Abstractions/IGetLastMessageIds.cs
+++ b/src/DotPulsar/Abstractions/IGetLastMessageIds.cs
@@ -1,4 +1,4 @@
-/*
+/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -24,8 +24,7 @@ using System.Threading.Tasks;
public interface IGetLastMessageIds
{
/// <summary>
- /// Provides the latest message ID for all the topic(s).
+ /// Get the message ids of the last messages on the topic. Non-partitioned
topics will only return one message id.
/// </summary>
- /// <returns>List of MessageId from all the topic(s)</returns>
ValueTask<IEnumerable<MessageId>> GetLastMessageIds(CancellationToken
cancellationToken = default);
}
diff --git a/tests/DotPulsar.Tests/DotPulsar.Tests.csproj
b/tests/DotPulsar.Tests/DotPulsar.Tests.csproj
index 000c37e..3030ecc 100644
--- a/tests/DotPulsar.Tests/DotPulsar.Tests.csproj
+++ b/tests/DotPulsar.Tests/DotPulsar.Tests.csproj
@@ -1,8 +1,9 @@
-<Project Sdk="Microsoft.NET.Sdk">
+<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<IsPackable>false</IsPackable>
+ <NoWarn>CA2012</NoWarn>
</PropertyGroup>
<ItemGroup>
@@ -12,9 +13,9 @@
<PackageReference Include="Ductus.FluentDocker" Version="2.10.59" />
<PackageReference Include="FluentAssertions" Version="6.11.0" />
<PackageReference Include="IronSnappy" Version="1.3.1" />
- <PackageReference Include="K4os.Compression.LZ4" Version="1.3.5" />
+ <PackageReference Include="K4os.Compression.LZ4" Version="1.3.6" />
<PackageReference Include="NSubstitute" Version="5.0.0" />
- <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.0" />
+ <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.1" />
<PackageReference Include="xunit" Version="2.5.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
<PrivateAssets>all</PrivateAssets>