You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/04/26 17:06:06 UTC

[GitHub] [camel-kafka-connector] orpiske opened a new issue #1156: AWS SNS seems to be broken with Camel 3.9 and above

orpiske opened a new issue #1156:
URL: https://github.com/apache/camel-kafka-connector/issues/1156


   Failure on Apache CI: https://ci-builds.apache.org/job/Camel/job/Camel-Kafka-Connector%20Daily/job/main/4/testReport/org.apache.camel.kafkaconnector.aws.v2.sns.sink/CamelSinkAWSSNSITCase/testBasicSendReceiveUsingKafkaStyle/
   
   Short exception snippet: 
   
   ```
   Caused by: software.amazon.awssdk.services.sns.model.SnsException: null (Service: Sns, Status Code: 404, Request ID: 7a62c49f-347e-4fc4-9331-6e8eEXAMPLE, Extended Request ID: null)
           ...
           at software.amazon.awssdk.services.sns.DefaultSnsClient.subscribe(DefaultSnsClient.java:2555) ~[sns-2.16.46.jar:?]
           at org.apache.camel.component.aws2.sns.Sns2Endpoint.doInit(Sns2Endpoint.java:177) ~[camel-aws2-sns-3.10.0-SNAPSHOT.jar:3.10.0-SNAPSHOT]
           at org.apache.camel.support.service.BaseService.init(BaseService.java:83) ~[camel-api-3.10.0-SNAPSHOT.jar:3.10.0-SNAPSHOT]
           at org.apache.camel.support.service.ServiceHelper.initService(ServiceHelper.java:84) ~[camel-api-3.10.0-SNAPSHOT.jar:3.10.0-SNAPSHOT]
           at org.apache.camel.impl.engine.AbstractCamelContext.internalAddService(AbstractCamelContext.java:1441) ~[camel-base-engine-3.10.0-SNAPSHOT.jar:3.10.0-SNAPSHOT]
           at org.apache.camel.impl.engine.AbstractCamelContext.addService(AbstractCamelContext.java:1383) ~[camel-base-engine-3.10.0-SNAPSHOT.jar:3.10.0-SNAPSHOT]
           at org.apache.camel.impl.engine.AbstractCamelContext.addService(AbstractCamelContext.java:1378) ~[camel-base-engine-3.10.0-SNAPSHOT.jar:3.10.0-SNAPSHOT]
           at org.apache.camel.impl.engine.AbstractCamelContext.addService(AbstractCamelContext.java:1373) ~[camel-base-engine-3.10.0-SNAPSHOT.jar:3.10.0-SNAPSHOT]
           at org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:946) ~[camel-base-engine-3.10.0-SNAPSHOT.jar:3.10.0-SNAPSHOT]
   ```
   
   Seems to be caused when the AWS SNS SDK fails to subscribe to the queue.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] orpiske closed issue #1156: AWS SNS seems to be broken with Camel 3.9 and above

Posted by GitBox <gi...@apache.org>.
orpiske closed issue #1156:
URL: https://github.com/apache/camel-kafka-connector/issues/1156


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] oscerd commented on issue #1156: AWS SNS seems to be broken with Camel 3.9 and above

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #1156:
URL: https://github.com/apache/camel-kafka-connector/issues/1156#issuecomment-827361800


   @orpiske no we don't. Btw the auticreation on sqs is false by default as well


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] orpiske commented on issue #1156: AWS SNS seems to be broken with Camel 3.9 and above

Posted by GitBox <gi...@apache.org>.
orpiske commented on issue #1156:
URL: https://github.com/apache/camel-kafka-connector/issues/1156#issuecomment-827362854


   > @orpiske no we don't. Btw the auticreation on sqs is false by default as well
   
   Oh, thanks for the heads up about this one as well! I am also seeing some failures with SQS, so it could be related. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] orpiske commented on issue #1156: AWS SNS seems to be broken with Camel 3.9 and above

Posted by GitBox <gi...@apache.org>.
orpiske commented on issue #1156:
URL: https://github.com/apache/camel-kafka-connector/issues/1156#issuecomment-827007716


   > Auticreation is false by default now
   
   Thanks! I will investigate further tomorrow ... I ran a quick test w/ auto create, but it still had the problem. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] orpiske commented on issue #1156: AWS SNS seems to be broken with Camel 3.9 and above

Posted by GitBox <gi...@apache.org>.
orpiske commented on issue #1156:
URL: https://github.com/apache/camel-kafka-connector/issues/1156#issuecomment-827360579


   > On plain camel seems to work fine
   
   I think it may be related to the `subscribeSNStoSQS`. I don't think we have any integration test covering that on Camel Core. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] orpiske commented on issue #1156: AWS SNS seems to be broken with Camel 3.9 and above

Posted by GitBox <gi...@apache.org>.
orpiske commented on issue #1156:
URL: https://github.com/apache/camel-kafka-connector/issues/1156#issuecomment-827438007


   > On plain camel seems to work fine
   
   You were right. Yesterday I made a mistake when trying it on Camel Core, which is why I thought there was a problem. But it turns out just adding the auto create topic option solves the problem :). Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] oscerd commented on issue #1156: AWS SNS seems to be broken with Camel 3.9 and above

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #1156:
URL: https://github.com/apache/camel-kafka-connector/issues/1156#issuecomment-827003837


   Auticreation is false by default now


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-kafka-connector] oscerd commented on issue #1156: AWS SNS seems to be broken with Camel 3.9 and above

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #1156:
URL: https://github.com/apache/camel-kafka-connector/issues/1156#issuecomment-827040839


   On plain camel seems to work fine


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org