Skip to content

SQS Error BatchEntryIdsNotDistinct #30

Description

@firemax

SQS returns 'Aws::SQS::Errors::BatchEntryIdsNotDistinct' exception when trying to send high amount of messages. i think generate_id should be more unique.

when i replace 'generate_id' with something unique, it works fine.

def generate_id
charset = %w{ 2 3 4 6 7 9 A C D E F G H J K M N P Q R T V W X Y Z}
(0...10).map{ charset.to_a[rand(charset.size)] }.join
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions