Skip to content

Container io.awspring.cloud.sqs.sqsListenerEndpointContainer#0 stopped.  #1189

Closed
@jangolano

Description

@jangolano

Type: Bug

Component:
SQS

Describe the bug
Container io.awspring.cloud.sqs.sqsListenerEndpointContainer#0 stopped. It then shows memory data in the logs.
This seems to happen randomly.

I know the example below doesn't give a lot of information. The code is running in a docker container within ECS/Fargate.

Sample

    @SqsListener("generate-report-queue")
    fun onReceiveMessage(message: String) {
        logger.info("Received the following message to generate a report: $message")
        if(message.uppercase()=="CURRENT"){
            CurrentReportGenerator(dynamoDbUtils, slackUtils, hrChannel).generate()
        }
        else if(StringUtils.isUserRequest(message)){
            UserReportGenerator(dynamoDbUtils, slackUtils, hrChannel, message).generate()
        }
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions