File tree 3 files changed +13
-0
lines changed
3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -259,6 +259,10 @@ pub struct RdKafkaPropertiesCommon {
259
259
#[ serde( rename = "properties.client.id" ) ]
260
260
#[ serde_as( as = "Option<DisplayFromStr>" ) ]
261
261
pub client_id : Option < String > ,
262
+
263
+ #[ serde( rename = "properties.enable.ssl.certificate.verification" ) ]
264
+ #[ serde_as( as = "Option<DisplayFromStr>" ) ]
265
+ pub enable_ssl_certificate_verification : Option < bool > ,
262
266
}
263
267
264
268
impl RdKafkaPropertiesCommon {
@@ -275,6 +279,9 @@ impl RdKafkaPropertiesCommon {
275
279
if let Some ( v) = self . client_id . as_ref ( ) {
276
280
c. set ( "client.id" , v) ;
277
281
}
282
+ if let Some ( v) = self . enable_ssl_certificate_verification {
283
+ c. set ( "enable.ssl.certificate.verification" , v. to_string ( ) ) ;
284
+ }
278
285
}
279
286
}
280
287
Original file line number Diff line number Diff line change @@ -252,6 +252,9 @@ KafkaConfig:
252
252
field_type : String
253
253
comments : Client identifier
254
254
required : false
255
+ - name : properties.enable.ssl.certificate.verification
256
+ field_type : bool
257
+ required : false
255
258
- name : properties.allow.auto.create.topics
256
259
field_type : bool
257
260
comments : Allow automatic topic creation on the broker when subscribing to or assigning non-existent topics.
Original file line number Diff line number Diff line change @@ -143,6 +143,9 @@ KafkaProperties:
143
143
field_type : String
144
144
comments : Client identifier
145
145
required : false
146
+ - name : properties.enable.ssl.certificate.verification
147
+ field_type : bool
148
+ required : false
146
149
- name : properties.queued.min.messages
147
150
field_type : usize
148
151
comments : Minimum number of messages per topic+partition librdkafka tries to maintain in the local consumer queue.
You can’t perform that action at this time.
0 commit comments