🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
403: Subscription ACL Denied - Queue 'scst/wk/txGroup/plain/txError' - Topic 'txError'
Config - application.yml
spring: cloud: stream: default: group: txGroup contentType: application/json consumer: concurrency: 2 maxAttempts: 1 bindings: output: consumer: group: txGroup provisionDurableQueue: true autoBindErrorQueue: true errorQueueNameOverride: txError durableSubscription: true republishToDlq: true
=====================================================
@StreamListener(LoanProcessor.TX_ERROR) public void txError(Message message) { System.out.println("ERROR :: " + message.toString()); }
==================================================
String TX_ERROR = "txError"; @Input(TX_ERROR) SubscribableChannel errors();
====================================================
@EnableBinding(LoanProcessor.class) @SpringBootApplication public class LoanCheckApplication { public static final Logger log = LoggerFactory.getLogger(LoanCheckApplication.class); public static void main(String[] args) { SpringApplication.run(LoanCheckApplication.class, args); log.info("The Loancheck Application has started..."); } }
provided the code and the ACL access denied, basically i tried to create autobind error queue to one of my consumer but except for this all are working why error queue is not working
Comments
-
solace: bindings: output: consumer: group: txGroup provisionDurableQueue: true autoBindErrorQueue: true errorQueueNameOverride: txError durableSubscription: true
With this configuration if exception thrown from the output listener then message is republished to txError queue and i see those messages queued but when i subcsibed to them its creating a new queue with scst/wk/txGroup/plain/txError
and yesterday i was getting acl denied but FYI everything is default action - allow, acl profile is default with no exemptions0 -
Could you please check your ACL profile associated for that particular user you may have subscribe topic as disabled or may be you need add an exception for your use case.
0