akhileshchg commented on code in PR #13384:
URL: https://github.com/apache/kafka/pull/13384#discussion_r1136044153


##########
core/src/test/scala/unit/kafka/zk/ZkMigrationClientTest.scala:
##########
@@ -49,12 +51,25 @@ class ZkMigrationClientTest extends QuorumTestHarness {
 
   private var migrationState: ZkMigrationLeadershipState = _
 
+  private val SECRET = "secret"
+
+  private val encoder: PasswordEncoder = {
+    val encoderProps = new Properties()
+    encoderProps.put(KafkaConfig.ZkConnectProp, "localhost:1234") // Get 
around the config validation
+    encoderProps.put(KafkaConfig.PasswordEncoderSecretProp, SECRET) // Zk 
secret to encrypt the
+    val encoderConfig = new KafkaConfig(encoderProps)

Review Comment:
   We still need the encoder and right configs to actually encode and decode 
the configs. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to