C0urante commented on code in PR #12450: URL: https://github.com/apache/kafka/pull/12450#discussion_r940603023
########## connect/file/src/test/java/org/apache/kafka/connect/file/FileStreamSinkConnectorTest.java: ########## @@ -74,16 +73,25 @@ public void testSinkTasks() { @Test public void testSinkTasksStdout() { - sinkProperties.remove(FileStreamSourceConnector.FILE_CONFIG); + sinkProperties.remove(FileStreamSinkConnector.FILE_CONFIG); connector.start(sinkProperties); List<Map<String, String>> taskConfigs = connector.taskConfigs(1); assertEquals(1, taskConfigs.size()); - assertNull(taskConfigs.get(0).get(FileStreamSourceConnector.FILE_CONFIG)); + assertNull(taskConfigs.get(0).get(FileStreamSinkConnector.FILE_CONFIG)); } @Test public void testTaskClass() { connector.start(sinkProperties); assertEquals(FileStreamSinkTask.class, connector.taskClass()); } + + @Test + public void testConnectorConfigsPropagateToTaskConfigs() { Review Comment: Might be worth adding a comment here (and in the `start` implementations for each connector) on why we do this and/or containing a reference to the Jira ticket for KAFKA-13809? -- 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