66//! This is required due to overlaps between TLS encryption and e.g. mTLS authentication or Kerberos
77use std:: collections:: BTreeMap ;
88
9- use crate :: {
10- authentication:: { self , ResolvedAuthenticationClasses } ,
11- listener:: { self , KafkaListenerConfig } ,
12- tls, KafkaCluster , LISTENER_BOOTSTRAP_VOLUME_NAME , SERVER_PROPERTIES_FILE ,
13- STACKABLE_CONFIG_DIR ,
14- } ;
15- use crate :: {
16- listener:: node_address_cmd, STACKABLE_KERBEROS_KRB5_PATH , STACKABLE_LISTENER_BOOTSTRAP_DIR ,
17- STACKABLE_LISTENER_BROKER_DIR ,
18- } ;
19- use crate :: { KafkaRole , LISTENER_BROKER_VOLUME_NAME , STACKABLE_LOG_DIR } ;
209use indoc:: formatdoc;
2110use snafu:: { ensure, ResultExt , Snafu } ;
22- use stackable_operator:: time:: Duration ;
2311use stackable_operator:: {
2412 builder:: {
2513 self ,
@@ -35,9 +23,18 @@ use stackable_operator::{
3523 product_logging:: framework:: {
3624 create_vector_shutdown_file_command, remove_vector_shutdown_file_command,
3725 } ,
26+ time:: Duration ,
3827 utils:: COMMON_BASH_TRAP_FUNCTIONS ,
3928} ;
4029
30+ use crate :: {
31+ authentication:: { self , ResolvedAuthenticationClasses } ,
32+ listener:: { self , node_address_cmd, KafkaListenerConfig } ,
33+ tls, KafkaCluster , KafkaRole , LISTENER_BOOTSTRAP_VOLUME_NAME , LISTENER_BROKER_VOLUME_NAME ,
34+ SERVER_PROPERTIES_FILE , STACKABLE_CONFIG_DIR , STACKABLE_KERBEROS_KRB5_PATH ,
35+ STACKABLE_LISTENER_BOOTSTRAP_DIR , STACKABLE_LISTENER_BROKER_DIR , STACKABLE_LOG_DIR ,
36+ } ;
37+
4138#[ derive( Snafu , Debug ) ]
4239pub enum Error {
4340 #[ snafu( display( "failed to process authentication class" ) ) ]
0 commit comments