-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
Hi i am using docker and the realese 1.44 of maxwell with de following config:
maxwell:
image: zendesk/maxwell:latest
container_name: maxwell
depends_on:
- localstack
command: >
bin/maxwell
--host=database-mysql.dev.treinta.co
--user=tr31nt4D3v
--password=K5nXWLjXCHp9cdXxLArC
--producer=sns
--sns_topic=arn:aws:sns:us-east-1:000000000000:products
--sns_service_endpoint=http://localstack:4566
--sns_signing_region=us-east-1
environment:
AWS_ACCESS_KEY_ID: test
AWS_SECRET_ACCESS_KEY: test
AWS_REGION: us-east-1
And i am getting the same error:
maxwell | joptsimple.UnrecognizedOptionException: sns_service_endpoint is not a recognized option
maxwell | at joptsimple.OptionException.unrecognizedOption(OptionException.java:108)
maxwell | at joptsimple.OptionParser.handleLongOptionToken(OptionParser.java:510)
maxwell | at joptsimple.OptionParserState$2.handleArgument(OptionParserState.java:56)
maxwell | at joptsimple.OptionParser.parse(OptionParser.java:396)
maxwell | at com.zendesk.maxwell.MaxwellConfig.parse(MaxwellConfig.java:1007)
maxwell | at com.zendesk.maxwell.MaxwellConfig.<init>(MaxwellConfig.java:666)
maxwell | at com.zendesk.maxwell.Maxwell.main(Maxwell.java:316)
maxwell | 2025-08-30 18:30:58 ERROR Maxwell - Maxwell saw an exception and is exiting...
maxwell | joptsimple.UnrecognizedOptionException: sns_service_endpoint is not a recognized option
maxwell | at joptsimple.OptionException.unrecognizedOption(OptionException.java:108) ~[jopt-simple-5.0.4.jar:?]
maxwell | at joptsimple.OptionParser.handleLongOptionToken(OptionParser.java:510) ~[jopt-simple-5.0.4.jar:?]
maxwell | at joptsimple.OptionParserState$2.handleArgument(OptionParserState.java:56) ~[jopt-simple-5.0.4.jar:?]
maxwell | at joptsimple.OptionParser.parse(OptionParser.java:396) ~[jopt-simple-5.0.4.jar:?]
maxwell | at com.zendesk.maxwell.MaxwellConfig.parse(MaxwellConfig.java:1007) ~[maxwell-1.43.2.jar:1.43.2]
maxwell | at com.zendesk.maxwell.MaxwellConfig.<init>(MaxwellConfig.java:666) ~[maxwell-1.43.2.jar:1.43.2]
maxwell | at com.zendesk.maxwell.Maxwell.main(Maxwell.java:316) [maxwell-1.43.2.jar:1.43.2]
maxwell exited with code 1
So, i compiled maxwell from master branch and is working. Someone kwons what could happens here?
I would like to use the offical docker image with the SNS producer. Thanks.
Metadata
Metadata
Assignees
Labels
No labels