diff --git a/src/java/kafkabridge/pom.xml b/src/java/kafkabridge/pom.xml
index 718d661cac..12ba92b304 100644
--- a/src/java/kafkabridge/pom.xml
+++ b/src/java/kafkabridge/pom.xml
@@ -9,7 +9,7 @@
mases.kafkabridge
Apache Kafka interface bridging implementation
https://github.com/masesgroup/KafkaBridge
- 1.1.7.0
+ 1.1.8.0
diff --git a/src/net/KafkaBridge/ClientSide/BridgedClasses/Clients/Admin/AdminClientConfig.cs b/src/net/KafkaBridge/ClientSide/BridgedClasses/Clients/Admin/AdminClientConfig.cs
index c295b07db5..86c1c43f2b 100644
--- a/src/net/KafkaBridge/ClientSide/BridgedClasses/Clients/Admin/AdminClientConfig.cs
+++ b/src/net/KafkaBridge/ClientSide/BridgedClasses/Clients/Admin/AdminClientConfig.cs
@@ -16,11 +16,12 @@
* Refer to LICENSE for more information.
*/
+using MASES.KafkaBridge.Common.Config;
using MASES.KafkaBridge.Java.Util;
namespace MASES.KafkaBridge.Clients.Admin
{
- public class AdminClientConfig : JCOBridge.C2JBridge.JVMBridgeBase
+ public class AdminClientConfig : AbstractConfig
{
public override string ClassName => "org.apache.kafka.clients.admin.AdminClientConfig";
@@ -64,6 +65,8 @@ public class AdminClientConfig : JCOBridge.C2JBridge.JVMBridgeBase("RETRIES_CONFIG");
public static readonly string DEFAULT_API_TIMEOUT_MS_CONFIG = Clazz.GetField("DEFAULT_API_TIMEOUT_MS_CONFIG");
+ public static readonly string SECURITY_PROVIDERS_CONFIG = Clazz.GetField("SECURITY_PROVIDERS_CONFIG");
+
[System.Obsolete("This is not public in Apache Kafka API")]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public AdminClientConfig() { }
@@ -73,4 +76,16 @@ public AdminClientConfig(Map props)
{
}
}
+
+ public class AdminClientConfigBuilder : CommonClientConfigsBuilder
+ {
+ public string SecurityProviders { get { return GetProperty(AdminClientConfig.SECURITY_PROVIDERS_CONFIG); } set { SetProperty(AdminClientConfig.SECURITY_PROVIDERS_CONFIG, value); } }
+
+ public AdminClientConfigBuilder WithSecurityProviders(string securityProviders)
+ {
+ var clone = Clone();
+ clone.SecurityProviders = securityProviders;
+ return clone;
+ }
+ }
}
diff --git a/src/net/KafkaBridge/ClientSide/BridgedClasses/Clients/Admin/AlterClientQuotasResult.cs b/src/net/KafkaBridge/ClientSide/BridgedClasses/Clients/Admin/AlterClientQuotasResult.cs
index 4f8d105cfc..e886ee5ff9 100644
--- a/src/net/KafkaBridge/ClientSide/BridgedClasses/Clients/Admin/AlterClientQuotasResult.cs
+++ b/src/net/KafkaBridge/ClientSide/BridgedClasses/Clients/Admin/AlterClientQuotasResult.cs
@@ -27,7 +27,7 @@ public class AlterClientQuotasResult : JCOBridge.C2JBridge.JVMBridgeBase "org.apache.kafka.clients.admin.AlterClientQuotasResult";
- public Map> values => IExecute