Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-2414

Need add-opens for Pulsar Connector running with Java 17

Apply templateInsert Lucidchart DiagramXMLWordPrintable

    • Hide
      1. Refer to the Pulsar connection created in the Auto Testing case, and check the logs generated in the component server. 
      2. Refer to the Pulsar-CSV dataset created in the Auto Testing case, need to check the logs generated in the view sample with PreviewRunner and view sample with Livy.
      3. Refer to the Pipeline job (pipeline for Pulsar Csv input) created in the Auto Testing case, run it and check the generated log.
      Show
      Refer to the Pulsar connection created in the Auto Testing case, and check the logs generated in the component server.  Refer to the Pulsar-CSV dataset created in the Auto Testing case, need to check the logs generated in the view sample with PreviewRunner and view sample with Livy. Refer to the Pipeline job (pipeline for Pulsar Csv input) created in the Auto Testing case, run it and check the generated log.
    • All
    • Small

      The warning is thrown with pulsar connection when validating the connection, viewing sample and running pipeline job (e.g., working as input). 
      [2023-04-13T09:10:20,931] [WARN ] o.a.p.c.u.n.DnsResolverUtil - Cannot get DNS TTL settings from sun.net.InetAddressCachePolicy class49java.lang.IllegalAccessException: class org.apache.pulsar.common.util.netty.DnsResolverUtil cannot access class sun.net.InetAddressCachePolicy (in module java.base) because module java.base does not export sun.net to unnamed module @5f5effb0
      Need to add more add-opens for it running with Java 17

      Needed flag:

      --add-opens=java.base/sun.net=ALL-UNNAMED

            Unassigned Unassigned
            wyuan Wei Yuan
            emmanuel gallois, Fabien Desiles
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: