diff --git a/src/Liquid.Messaging.Kafka/KafkaFactory.cs b/src/Liquid.Messaging.Kafka/KafkaFactory.cs
index 5a256c4f..0d53d7b7 100644
--- a/src/Liquid.Messaging.Kafka/KafkaFactory.cs
+++ b/src/Liquid.Messaging.Kafka/KafkaFactory.cs
@@ -52,6 +52,7 @@ private static ConsumerConfig MapConsumerSettings(KafkaSettings settings)
BootstrapServers = settings.ConnectionString,
ClientId = settings.ConnectionId,
EnableAutoCommit = settings.EnableAutoCommit,
+ GroupId = settings.GroupId
};
}
diff --git a/src/Liquid.Messaging.Kafka/Liquid.Messaging.Kafka.csproj b/src/Liquid.Messaging.Kafka/Liquid.Messaging.Kafka.csproj
index d0101dbc..b52a0fdf 100644
--- a/src/Liquid.Messaging.Kafka/Liquid.Messaging.Kafka.csproj
+++ b/src/Liquid.Messaging.Kafka/Liquid.Messaging.Kafka.csproj
@@ -10,7 +10,7 @@
Avanade 2019
https://github.com/Avanade/Liquid-Application-Framework
logo.png
- 8.0.0-beta-02
+ 8.0.0-beta-03
true
The Liquid.Messaging.Kafka provides producer and consumer patterns to allow the send and consumption of Messaging inside your microservice.
diff --git a/src/Liquid.Messaging.Kafka/Settings/KafkaSettings.cs b/src/Liquid.Messaging.Kafka/Settings/KafkaSettings.cs
index 98f6a088..7a24282a 100644
--- a/src/Liquid.Messaging.Kafka/Settings/KafkaSettings.cs
+++ b/src/Liquid.Messaging.Kafka/Settings/KafkaSettings.cs
@@ -49,5 +49,10 @@ public class KafkaSettings
/// Indicates whether to be a compressed message.
///
public bool CompressMessage { get; set; }
+
+ ///
+ /// Client group id string. All clients sharing the same group.id belong to the same group.
+ ///
+ public string GroupId { get; set; }
}
}
\ No newline at end of file