Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10568

transforms.InsertField.type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • Debian, Kafka-2.13-2.6.0

    Description

      Hello,

      i'am trying to run a simple SMT for kafka-connect

       

      transforms=InsertField
      transforms.InsertField.type=org.apache.kafka.connect.transforms.InsertField$Value
      

      But i get the following error

      [2020-10-02 18:34:27,508] ERROR Failed to start task test-smst-0 (org.apache.kafka.connect.runtime.Worker:560)
      org.apache.kafka.connect.errors.ConnectException: org.apache.kafka.common.config.ConfigException: Unknown configuration 'transforms.InsertField.type'
              at org.apache.kafka.connect.runtime.ConnectorConfig.transformations(ConnectorConfig.java:296)
              at org.apache.kafka.connect.runtime.Worker.buildWorkerTask(Worker.java:605)
              at org.apache.kafka.connect.runtime.Worker.startTask(Worker.java:555)
              at org.apache.kafka.connect.runtime.standalone.StandaloneHerder.createConnectorTasks(StandaloneHerder.java:333)
              at org.apache.kafka.connect.runtime.standalone.StandaloneHerder.updateConnectorTasks(StandaloneHerder.java:359)
              at org.apache.kafka.connect.runtime.standalone.StandaloneHerder.lambda$null$3(StandaloneHerder.java:240)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at java.lang.Thread.run(Thread.java:748)
      Caused by: org.apache.kafka.common.config.ConfigException: Unknown configuration 'transforms.InsertField.type'
              at org.apache.kafka.common.config.AbstractConfig.get(AbstractConfig.java:159)
              at org.apache.kafka.connect.runtime.SourceConnectorConfig$EnrichedSourceConnectorConfig.get(SourceConnectorConfig.java:57)
              at org.apache.kafka.connect.runtime.SourceConnectorConfig.get(SourceConnectorConfig.java:141)
              at org.apache.kafka.common.config.AbstractConfig.getClass(AbstractConfig.java:216)
              at org.apache.kafka.connect.runtime.ConnectorConfig.transformations(ConnectorConfig.java:281)
              ... 12 more
      
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              blobash Nikos Nikoloutsakos
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: