Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-3149

Kafka component kerberosRenewJitter and kerberosRenewWindowFactor incorrectly fail validation

XMLWordPrintable

    • Hide

      Here is the route I am using:

      <?xml version="1.0" encoding="UTF-8"?>
      <beans xmlns="http://www.springframework.org/schema/beans"
      xmlns:camel="http://camel.apache.org/schema/spring"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
      <!-- Define a traditional camel context here -->
      <bean class="org.apache.camel.component.kafka.KafkaComponent" id="kafka">
      <property name="brokers" value="sko-kafka-bootstrap:9092"/>
      </bean>
      <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
      <route id="simple-route">
      <from id="_kafka1" uri="kafka:registration"/>
      <log id="route-log" message=">>> ${body}"/>
      <setBody id="_setBody1">
      <jsonpath>$.seatno</jsonpath>
      </setBody>
      <log id="route-log" message=">>> ${body}"/>
      <to id="_kafka2" uri="kafka:allocateseats"/>
      </route>
      </camelContext>
      </beans>

      Show
      Here is the route I am using: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:camel="http://camel.apache.org/schema/spring" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd "> <!-- Define a traditional camel context here --> <bean class="org.apache.camel.component.kafka.KafkaComponent" id="kafka"> <property name="brokers" value="sko-kafka-bootstrap:9092"/> </bean> <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"> <route id="simple-route"> <from id="_kafka1" uri="kafka:registration"/> <log id="route-log" message=">>> ${body}"/> <setBody id="_setBody1"> <jsonpath>$.seatno</jsonpath> </setBody> <log id="route-log" message=">>> ${body}"/> <to id="_kafka2" uri="kafka:allocateseats"/> </route> </camelContext> </beans>

      I have a simple camel route that uses kafka that is failing validation with the following errors:

      _The parameter kerberosRenewJitter requires a numeric value. camel-context.xml /transform-camel/src/main/resources/spring line 11 Red Hat Fuse Tooling Validation Problem

      The parameter kerberosRenewWindowFactor requires a numeric value. camel-context.xml /transform-camel/src/main/resources/spring line 11 Red Hat Fuse Tooling Validation Problem

      The values for both parameters support decimals with decimal defaults according to the documentation here:

      https://github.com/apache/camel/blob/master/components/camel-kafka/src/main/docs/kafka-component.adoc

      I have attached a screenshot showing the issue.

              apupier@redhat.com Aurélien Pupier
              gnunn@redhat.com Gerald Nunn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: