@@ -38,15 +38,9 @@ import org.apache.kyuubi.operation.HiveJDBCTestHelper
3838abstract class ServerKafkaLoggingEventHandlerSuite extends WithKyuubiServer with HiveJDBCTestHelper
3939 with BatchTestHelper with TestContainerForAll {
4040
41- /**
42- * `confluentinc/cp-kafka` is Confluent Community Docker Image for Apache Kafka.
43- * The list of compatibility for Kafka's version refers to:
44- * https://docs.confluent.io/platform/current/installation
45- * /versions-interoperability.html#cp-and-apache-ak-compatibility
46- */
47- protected val imageTag : String
41+ protected val kafkaVersion : String
4842 override lazy val containerDef : KafkaContainer .Def =
49- KafkaContainer .Def (s " confluentinc/cp- kafka: $imageTag " )
43+ KafkaContainer .Def (s " apache/ kafka: $kafkaVersion " )
5044 private val destTopic = " server-event-topic"
5145 private val mapper = JsonMapper .builder().build()
5246 override protected def jdbcUrl : String = getJdbcUrl
@@ -102,12 +96,6 @@ abstract class ServerKafkaLoggingEventHandlerSuite extends WithKyuubiServer with
10296 }
10397}
10498
105- class ServerKafkaLoggingEventHandlerSuiteForKafka2 extends ServerKafkaLoggingEventHandlerSuite {
106- // equivalent to Apache Kafka 2.8.x
107- override val imageTag = " 6.2.12"
108- }
109-
11099class ServerKafkaLoggingEventHandlerSuiteForKafka3 extends ServerKafkaLoggingEventHandlerSuite {
111- // equivalent to Apache Kafka 3.5.x
112- override val imageTag = " 7.5.1"
100+ override val kafkaVersion = " 3.9.1"
113101}
0 commit comments