[ 
https://issues.apache.org/jira/browse/CAMEL-22760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-22760:
--------------------------------
    Summary: Camel kafka isn't auto-configured from spring boot  (was: Camel 
kafka isn't auto-configured from spring)

> Camel kafka isn't auto-configured from spring boot
> --------------------------------------------------
>
>                 Key: CAMEL-22760
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22760
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-kafka
>    Affects Versions: 4.16.0
>            Reporter: David J. M. Karlsen
>            Priority: Major
>
> I have to do this:
> {noformat}
> camel:
>   component:
>     kafka:
>       security-protocol: ${spring.kafka.security.protocol}
>       ssl-truststore-location: /etc/kafka/ca-certs/ca.crt
>       ssl-truststore-type: ${spring.kafka.ssl.trust-store-type}
>       ssl-keystore-location: /etc/kafka/user-certs/user.p12
>       ssl-keystore-type: ${spring.kafka.ssl.key-store-type}
>       ssl-keystore-password: ${spring.kafka.ssl.key-store-password}
>       brokers: ${spring.kafka.bootstrap-servers}
> spring:
>   kafka:
>     security:
>       protocol: SSL
>     ssl:
>       trust-store-location: 
> file:${camel.component.kafka.ssl-truststore-location}
>       trust-store-type: PEM
>       key-store-location: file:${camel.component.kafka.ssl-keystore-location}
>       key-store-type: PKCS12
> {noformat}
> to get camel-kafka properly configured.
> when using
>  <dependency>
>       <groupId>org.apache.camel.springboot</groupId>
>       <artifactId>camel-kafka-starter</artifactId>
>     </dependency>
> The "starter" doesn't really autoconfigure any kafka setup in camel from 
> spring-boot like for other components - in particular the bootstrap servers 
> isn't passed on.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to