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 87f4fde Remove redundant validation and make ready for release 5.3.0
87f4fde is described below
commit 87f4fdeda9f12b480ea8f91099490c3b3ef58b09
Author: Daniel Blankensteiner <[email protected]>
AuthorDate: Thu Mar 19 09:36:28 2026 +0100
Remove redundant validation and make ready for release 5.3.0
---
CHANGELOG.md | 7 ++++++-
src/DotPulsar/Internal/ProducerBuilder.cs | 5 +----
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7bf69b0..43e3763 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,7 +4,11 @@ All notable changes to this project will be documented in this
file.
The format is based on [Keep a
Changelog](https://keepachangelog.com/en/1.1.0/) and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-## [Unreleased]
+## [5.3.0-rc.1] - 2026-03-19
+
+### Added
+
+- Basic (username + password) authentication using AuthenticationFactory.Basic
### Changed
@@ -15,6 +19,7 @@ The format is based on [Keep a
Changelog](https://keepachangelog.com/en/1.1.0/)
- Updated the System.Collections.Immutable from version 10.0.3 to 10.0.5 for
.NET Standard 2.0 and 2.1
- Updated the System.Diagnostics.DiagnosticSource dependency from version
10.0.3 to 10.0.5 for .NET Standard 2.0 and 2.1
- Updated the System.IO.Pipelines dependency from version 10.0.3 to 10.0.5 for
.NET Standard 2.0 and 2.1
+- Calling PulsarClient.CreateProducer with MaxPendingMessages set to 0 will
now throw a ConfigurationException
## [5.2.2] - 2026-03-05
diff --git a/src/DotPulsar/Internal/ProducerBuilder.cs
b/src/DotPulsar/Internal/ProducerBuilder.cs
index 2a5f025..d1ec1ff 100644
--- a/src/DotPulsar/Internal/ProducerBuilder.cs
+++ b/src/DotPulsar/Internal/ProducerBuilder.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
@@ -109,9 +109,6 @@ public sealed class ProducerBuilder<TMessage> :
IProducerBuilder<TMessage>
if (string.IsNullOrEmpty(_topic))
throw new ConfigurationException("ProducerOptions.Topic may not be
null or empty");
- if (_maxPendingMessages == 0)
- throw new
ConfigurationException("ProducerOptions.MaxPendingMessages must be greater than
0");
-
var options = new ProducerOptions<TMessage>(_topic!, _schema)
{
ProducerAccessMode = _producerAccessMode,