<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Unable to set property on handler 'kafkahandler' in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-set-property-on-handler-kafkahandler/m-p/320076#M228094</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Hi,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks for your reply.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Below is our props file.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;eshop_kc.props&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;gg.handlerlist = kafkahandler&lt;BR /&gt;gg.handler.kafkahandler.type = kafka&lt;BR /&gt;gg.handler.kafkahandler.KafkaProducerConfigFile=custom_kafka_producer.properties&lt;BR /&gt;gg.handler.kafkahandler.topicMappingTemplate=BUBB-MX_ALL_SOFT&lt;BR /&gt;gg.handler.kafkahandler.format =json&lt;BR /&gt;gg.handler.kafkahandler.format.insertOpKey = I&lt;BR /&gt;gg.handler.kafkahandler.format.updateOpKey = U&lt;BR /&gt;gg.handler.kafkahandler.format.deleteOpKey = D&lt;BR /&gt;gg.handler.kafkahandler.BlockingSend =false&lt;BR /&gt;gg.handler.kafkahandler.includeTokens=true&lt;BR /&gt;gg.handler.kafkahandler.mode =op&lt;BR /&gt;gg.schemareplaceregex=[$|#]&lt;BR /&gt;gg.schemareplacestring=CDATA[]&lt;BR /&gt;goldengate.userexit.timestamp=utc&lt;BR /&gt;goldengate.userexit.writers=javawriter&lt;BR /&gt;javawriter.stats.display=TRUE&lt;BR /&gt;javawriter.stats.full=TRUE&lt;BR /&gt;gg.log=log4j&lt;BR /&gt;gg.log.level=DEBUG&lt;BR /&gt;gg.report.time=30sec&lt;BR /&gt;gg.classpath=dirprm/:/goldengate/kafka2/*:/goldengate/12.3.BD/ggjava/resources/lib/*&lt;BR /&gt;javawriter.bootoptions=-Xmx2048m -Xms1024m -Djava.class.path=/goldengate/12.3.BD/ggjava/ggjava.jar -Djava.security.auth.login.config=/goldengate/12.3.BD/dirprm/jaas.conf -Djava.security.krb5.conf=/goldengate/12.3.BD/dirprm/krb5.conf -Dcom.ibm.security.krb5.debug=true&lt;BR /&gt;gg.handler.kafkahandler.authType=kerberos&lt;BR /&gt;gg.handler.kafkahandler.kerberosKeytabFile=/goldengate/12.3.BD/dirprm/kafka.keytab&lt;BR /&gt;gg.handler.kafkahandler.kerberosPrincipal=kafka/prd-din-kaf-F9a-z1.corporate.google.com@MLK_PRD_YAHOO.COM&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jul 2021 00:28:19 GMT</pubDate>
    <dc:creator>TVR</dc:creator>
    <dc:date>2021-07-08T00:28:19Z</dc:date>
    <item>
      <title>Unable to set property on handler 'kafkahandler'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-set-property-on-handler-kafkahandler/m-p/320058#M228083</link>
      <description>&lt;P&gt;ERROR 2021-05-26 15:43:41.000453 [main] - Unable to set property on handler 'kafkahandler' (oracle.goldengate.handler.kafka.KafkaHandler). Failed to set property: Topic&lt;BR /&gt;Name:="BUBB-MX_ALL_SOFT" (class: oracle.goldengate.handler.kafka.KafkaHandler).&lt;BR /&gt;oracle.goldengate.util.ConfigException: Failed to set property: TopicName:="BUBB-MX_ALL_SOFT" (class: oracle.goldengate.handler.kafka.KafkaHandler).&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 17:22:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-set-property-on-handler-kafkahandler/m-p/320058#M228083</guid>
      <dc:creator>TVR</dc:creator>
      <dc:date>2021-07-07T17:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to set property on handler 'kafkahandler'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-set-property-on-handler-kafkahandler/m-p/320069#M228087</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/90161"&gt;@TVR&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next time please provide more details on what you have tried, what versions of Kafka and Oracle you are using, and what you are trying to achieve. In the meantime, it looks like TopicName is not a supported parameter since some version of Oracle GoldenGate. The alternative parameter is&amp;nbsp;&lt;SPAN&gt;topicMappingTemplate. Please see Oracle documentation here:&amp;nbsp;&lt;A href="https://docs.oracle.com/goldengate/bd123110/gg-bd/GADBD/using-kafka-handler.htm#GADBD458" target="_blank"&gt;https://docs.oracle.com/goldengate/bd123110/gg-bd/GADBD/using-kafka-handler.htm#GADBD458&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope that helps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 23:04:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-set-property-on-handler-kafkahandler/m-p/320069#M228087</guid>
      <dc:creator>aakulov</dc:creator>
      <dc:date>2021-07-07T23:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to set property on handler 'kafkahandler'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-set-property-on-handler-kafkahandler/m-p/320070#M228088</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kafka Vesion:2.1&lt;/P&gt;&lt;P&gt;Oracle GoldenGate:12.3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you need any other inputs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 23:12:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-set-property-on-handler-kafkahandler/m-p/320070#M228088</guid>
      <dc:creator>TVR</dc:creator>
      <dc:date>2021-07-07T23:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to set property on handler 'kafkahandler'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-set-property-on-handler-kafkahandler/m-p/320071#M228089</link>
      <description>&lt;P&gt;&lt;SPAN&gt;You can find the architecture and real-time data flow in the link.We have implemented same data flow.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://dzone.com/articles/creates-a-cdc-stream-from-oracle-database-to-kafka" target="_blank"&gt;https://dzone.com/articles/creates-a-cdc-stream-from-oracle-database-to-kafka&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But topic is worked fine before we migrated from linux to aix .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Br,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TVR&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 23:18:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-set-property-on-handler-kafkahandler/m-p/320071#M228089</guid>
      <dc:creator>TVR</dc:creator>
      <dc:date>2021-07-07T23:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to set property on handler 'kafkahandler'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-set-property-on-handler-kafkahandler/m-p/320073#M228091</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/90161"&gt;@TVR&lt;/a&gt;&amp;nbsp;,&amp;nbsp; in the link you shared, Step 11/12 shows how to setup .props file. Note that the property&amp;nbsp;&lt;EM&gt;gg.handler.kafkaconnect.topicMappingTemplate&lt;/EM&gt; is used, instead of TopicName. Check your .props file and see what is set there.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 23:30:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-set-property-on-handler-kafkahandler/m-p/320073#M228091</guid>
      <dc:creator>aakulov</dc:creator>
      <dc:date>2021-07-07T23:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to set property on handler 'kafkahandler'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-set-property-on-handler-kafkahandler/m-p/320076#M228094</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hi,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks for your reply.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Below is our props file.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;eshop_kc.props&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;gg.handlerlist = kafkahandler&lt;BR /&gt;gg.handler.kafkahandler.type = kafka&lt;BR /&gt;gg.handler.kafkahandler.KafkaProducerConfigFile=custom_kafka_producer.properties&lt;BR /&gt;gg.handler.kafkahandler.topicMappingTemplate=BUBB-MX_ALL_SOFT&lt;BR /&gt;gg.handler.kafkahandler.format =json&lt;BR /&gt;gg.handler.kafkahandler.format.insertOpKey = I&lt;BR /&gt;gg.handler.kafkahandler.format.updateOpKey = U&lt;BR /&gt;gg.handler.kafkahandler.format.deleteOpKey = D&lt;BR /&gt;gg.handler.kafkahandler.BlockingSend =false&lt;BR /&gt;gg.handler.kafkahandler.includeTokens=true&lt;BR /&gt;gg.handler.kafkahandler.mode =op&lt;BR /&gt;gg.schemareplaceregex=[$|#]&lt;BR /&gt;gg.schemareplacestring=CDATA[]&lt;BR /&gt;goldengate.userexit.timestamp=utc&lt;BR /&gt;goldengate.userexit.writers=javawriter&lt;BR /&gt;javawriter.stats.display=TRUE&lt;BR /&gt;javawriter.stats.full=TRUE&lt;BR /&gt;gg.log=log4j&lt;BR /&gt;gg.log.level=DEBUG&lt;BR /&gt;gg.report.time=30sec&lt;BR /&gt;gg.classpath=dirprm/:/goldengate/kafka2/*:/goldengate/12.3.BD/ggjava/resources/lib/*&lt;BR /&gt;javawriter.bootoptions=-Xmx2048m -Xms1024m -Djava.class.path=/goldengate/12.3.BD/ggjava/ggjava.jar -Djava.security.auth.login.config=/goldengate/12.3.BD/dirprm/jaas.conf -Djava.security.krb5.conf=/goldengate/12.3.BD/dirprm/krb5.conf -Dcom.ibm.security.krb5.debug=true&lt;BR /&gt;gg.handler.kafkahandler.authType=kerberos&lt;BR /&gt;gg.handler.kafkahandler.kerberosKeytabFile=/goldengate/12.3.BD/dirprm/kafka.keytab&lt;BR /&gt;gg.handler.kafkahandler.kerberosPrincipal=kafka/prd-din-kaf-F9a-z1.corporate.google.com@MLK_PRD_YAHOO.COM&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 00:28:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-set-property-on-handler-kafkahandler/m-p/320076#M228094</guid>
      <dc:creator>TVR</dc:creator>
      <dc:date>2021-07-08T00:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to set property on handler 'kafkahandler'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-set-property-on-handler-kafkahandler/m-p/320153#M228110</link>
      <description>&lt;P&gt;Strange....&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a test can you replace your hard-coded toppic name with something like&amp;nbsp;&lt;SPAN&gt;${tableName} or just try a different hardcoded string and see if that gets you further along. Not saying that's a solution, but trying to eliminate causes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, you mentioned you've implemented other flows already. Could it be that the topic name&amp;nbsp;BUBB-MX_ALL_SOFT is already taken in your kafka cluster and thats why goldengate handler can't create the topic (though I would expect it to just write to the existing topic, instead of throwing an error).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also found this on Oracle site that may have your answer. You'll need an Oracle account to look if there is a solution though. &lt;A href="https://support.oracle.com/knowledge/Middleware/2512462_1.html" target="_blank"&gt;https://support.oracle.com/knowledge/Middleware/2512462_1.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could this also be an encoding or trailing character issue in the props file between Unix and AIX?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Overall this sounds like a GoldenGate error that may be better answered by Oracle community.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 22:03:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-set-property-on-handler-kafkahandler/m-p/320153#M228110</guid>
      <dc:creator>aakulov</dc:creator>
      <dc:date>2021-07-08T22:03:03Z</dc:date>
    </item>
  </channel>
</rss>

