Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kamelet redis-source not working #4276

Closed
btyasumorik opened this issue Apr 26, 2023 · 1 comment
Closed

Kamelet redis-source not working #4276

btyasumorik opened this issue Apr 26, 2023 · 1 comment

Comments

@btyasumorik
Copy link

btyasumorik commented Apr 26, 2023

The following error occurs when performing integration using redis-source Kamelet.

Cannot reconcile Integration redis-to-kafka: error during trait customization: component not found for uri "spring-redis:{{redisHost}}:{{redisPort}}?channels=%7B%7Bchannels%7D%7D&command=%7B%7Bcommand%7D%7D&serializer=%23class%3A%7B%7Bserializer%7D%7D" in camel catalog runtime version 1.17.0

My full configuration is:

  • camel-k version: 1.12.0

  • integration file
    <redisToKafka.camel.yaml>

    - route:
        from:
          uri: kamelet:redis-source
          parameters:
            redisHost: redis-server.redis
            redisPort: 6379
            channels: test
          steps:
            - to:
                uri: kamelet:kafka-not-secured-sink
                parameters:
                  bootstrapServers: kafka-broker.kafka:9092
                  topic: test
    

Execution Result

$ kamel run redis.camel.yaml -n camel --dev
Integration "redis" created
Condition "IntegrationPlatformAvailable" is "True" for Integration redis: camel/camel-k
Progress: integration "redis" in phase Initialization
Integration "redis" in phase "Initialization"
Cannot reconcile Integration redis: error during trait customization: component not found for uri "spring-redis:{{redisHost}}:{{redisPort}}?channels=%7B%7Bchannels%7D%7D&command=%7B%7Bcommand%7D%7D&serializer=%23class%3A%7B%7Bserializer%7D%7D" in camel catalog runtime version 1.17.0
Progress: integration "redis" in phase Error
Error: integration "redis" deployment failed
@oscerd
Copy link
Contributor

oscerd commented Apr 26, 2023

Camel K works only with Camel-Quarkus extensions catalog and camel-spring-redis is not supported as Quarkus extension. If you want to use the Redis Source Kamelet you'll need to use Camel with other runtimes (not in Camel K)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants