Comments (3)
Producer group is used to check when using transaction message, it should correspond to the listener. So multiple groups to use the same RocketMQTransactionListener bean is not considered for the time being.
from rocketmq-spring.
Can you consider the support of @RocketMQTransactionListener
on @Bean
?
@Bean
@RocketMQTransactionListener(
txProducerGroup = "${spring.application.name}-${spring.profiles.active}-transactional-account-producer2",
corePoolSize = 5,
maximumPoolSize = 10
)
public RocketMQTransactionListener rocketMQTransactionListener1(){
return new TransactionListenerImpl();
}
@Bean
@RocketMQTransactionListener(
txProducerGroup = "${spring.application.name}-${spring.profiles.active}-transactional-account-producer2",
corePoolSize = 5,
maximumPoolSize = 10
)
public RocketMQTransactionListener rocketMQTransactionListener2(){
return new TransactionListenerImpl();
}
If I want to complete my requirements, I have to create multiple TransactionListenerImpl
classes, in fact I just want to use one.
from rocketmq-spring.
txProducerGroup has been removed in the upcoming release (#179) because of some hidden trouble in transaction implementation. Nowadays, one template binding only one group, there is no rational plan for improvement. But I would like to hear from you. For this reason, this issue will be close in the next week if we could not receive any substantial improvement suggestion :-)
from rocketmq-spring.
Related Issues (20)
- Release blocker of RocketMQ-Spring 2.3.0 HOT 1
- will handleMessage be public,so users can do some intecept before consumeMessage
- Is there a plan to release a version that is compatible with Springboot 3
- 在rocketmq服务端未启动的情况下,启动springboot报错 HOT 4
- 5.0 grpc client add config enableSsl
- Compilation failed
- Make v5 sample logs to output normally
- Exclude annotations-api to make spring-boot start normally
- Bump rocketmq version to 5.2.0
- RocketMQ监听者收到消息后发送到其他Topic时报空指针异常
- Native-image之后无法连接namesvr,但是在jdk环境里面可以连接
- The code for version 2.3.0 seems to be fine now. Could you package it when you have time and upload it to the Maven Central Repository? HOT 3
- Upgrade samples version to 2.3.1-SNAPSHOT
- BUG REPORT:rocketmq-spring-boot-2.2.3.jar HOT 3
- sendAndReceive方法能否接收到响应,对于消费者和生产者的启动顺序是否有要求? HOT 1
- A project cannot use the same consumer group HOT 3
- Document what the difference between rocketmq-spring-boot-starter and rocketmq-v5-client-spring-boot-starter
- About in spring-boot:3.2.3 and rocketmq-spring-boot-starter:2.3.0 at integration use `messageModel = MessageModel.CLUSTERING` experiment result.
- Bump rocketmq.spring.client.version to 5.0.6
- BUG REPORT: bean getting eagerly injected into a currently created BeanPostProcessor【RocketMQMessageListenerBeanPostProcessor】 HOT 2
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 rocketmq-spring.