Comments (7)
@jhaoheng I just ran into a similar issue.
alpine-sqs | com.typesafe.config.ConfigException$WrongType: /opt/config/elasticmq.conf: 31: fifo has type OBJECT rather than BOOLEAN
This was because I didn't put quotes around my queue name at first after introducing the .fifo
suffix to match the AWS format. After making that change it works for me:
"myqueue.fifo" {
defaultVisibilityTimeout = 10 seconds
delay = 0 seconds
receiveMessageWait = 0 seconds
fifo = true
contentBasedDeduplication = false
}
from alpine-sqs.
docker-compose.yml
sqs:
image: roribio16/alpine-sqs:latest
container_name: alpine-sqs
ports:
- "9324:9324"
- "9325:9325"
volumes:
- ./config/elasticmq.conf:/opt/config/elasticmq.conf
stdin_open: true
tty: true
/config/elasticmq.conf
include classpath("application.conf")
node-address {
protocol = http
host = "*"
port = 9324
context-path = ""
}
rest-sqs {
enabled = true
bind-port = 9324
bind-hostname = "0.0.0.0"
// Possible values: relaxed, strict
sqs-limits = strict
}
queues {
default {
defaultVisibilityTimeout = 10 seconds
delay = 5 seconds
fifo = true
contentBasedDeduplication = false
receiveMessageWait = 0 seconds
}
}
from alpine-sqs.
@etos thanks a lot
from alpine-sqs.
Hi, @etos Where to get the more detailed doc about configure?
from alpine-sqs.
Hi,
The AWS SQS has a policy is The name of a FIFO queue must end with the .fifo suffix.
https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html
When I set, the q path is http://sqs:9324/queue/atlas_sql_queue.fifo
, the SQS broken.
from alpine-sqs.
I just tried it and it works, maybe you forgot to add "FifoQueue": "true" to the create queue attributes?
from alpine-sqs.
Thanks, @totalhack it works
from alpine-sqs.
Related Issues (20)
- Doesn't work, leaks. HOT 7
- Docs for using with AWSSDK HOT 4
- Provide an image elasticmq-native based
- Delete message, creates another one HOT 3
- CPU over 100% when queues are not empty HOT 10
- about init queue
- Dead Letter Queue fails
- bad ui experience when there are too many queues... HOT 1
- How to support replica and cluster
- Registering new queues with the UI
- FIFO queue deduplication ID doesn't work
- Unable to locate credentials. You can configure credentials by running "aws configure" HOT 2
- roribio16/alpine-sqs:latest not working wie apple silicon HOT 6
- Queue fails to deliver messages HOT 1
- Insight Startup Issue with extra queues HOT 1
- Queue is not working when launching
- Value default for parameter MessageGroupId is invalid HOT 2
- Change credentials
- Support for JSON protocol HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alpine-sqs.