Skip to content

Commit 65aeeac

Browse files
Rafael Lilloiancooper
andauthored
feat: Update Kafka publication default values (BrighterCommand#3618)
Co-authored-by: Ian Cooper <ian_hammond_cooper@yahoo.co.uk>
1 parent 79c9d18 commit 65aeeac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Paramore.Brighter.MessagingGateway.Kafka/KafkaPublication.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public class KafkaPublication : Publication
5858
/// <summary>
5959
/// Maximum number of messages batched in one MessageSet.
6060
/// </summary>
61-
public int BatchNumberMessages { get; set; } = 10;
61+
public int BatchNumberMessages { get; set; } = 10000;
6262

6363
/// <summary>
6464
/// Messages are produced once only
@@ -104,7 +104,7 @@ public class KafkaPublication : Publication
104104
/// <summary>
105105
/// Maximum number of messages allowed on the producer queue.
106106
/// </summary>
107-
public int QueueBufferingMaxMessages { get; set; } = 10;
107+
public int QueueBufferingMaxMessages { get; set; } = 100000;
108108

109109
/// <summary>
110110
/// Maximum total message size sum allowed on the producer queue.

0 commit comments

Comments
 (0)