You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/04/23 12:34:25 UTC

[GitHub] [shardingsphere] romantictravel01 opened a new issue #5293: Is seata.conf required?

romantictravel01 opened a new issue #5293:
URL: https://github.com/apache/shardingsphere/issues/5293


   ## Question
   version:4.0.1
   env: mybatis-plus+spring cloud+seata 
          Seata can be configured in application.yml, but shardingsphere must be configured with seata.conf


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] cherrylzhao commented on issue #5293: Is seata.conf required?

Posted by GitBox <gi...@apache.org>.
cherrylzhao commented on issue #5293:
URL: https://github.com/apache/shardingsphere/issues/5293#issuecomment-618792282


   seata.conf is required when you want use `sharding-transaction-base-seat-at` to guarantee distribute-transaction within shardingpshere. if you want to guarantee distribute-transaction within micro-service together with shardingpshere, both Seata.conf and `sharding-transaction-base-seata-at` is not needed, which will be supported since 4.1.0


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] fengyunhe edited a comment on issue #5293: Is seata.conf required?

Posted by GitBox <gi...@apache.org>.
fengyunhe edited a comment on issue #5293:
URL: https://github.com/apache/shardingsphere/issues/5293#issuecomment-618804475


   Hi, @kimmking   
   
   ```
   client {
       application.id=study-sharding-jdbc
       transaction.service.group = my_test_tx_group
   }
   ```
   what is transaction.service.group?  if i use a value not is `my_test_tx_group` then get error ,but use value is `my_test_tx_group`, then get successful.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] fengyunhe edited a comment on issue #5293: Is seata.conf required?

Posted by GitBox <gi...@apache.org>.
fengyunhe edited a comment on issue #5293:
URL: https://github.com/apache/shardingsphere/issues/5293#issuecomment-618412606


   i am not understand how to config. i am get a error is  'no available service 'null' found, please make sure registry config correct'
   ```
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.enableDegrade, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property transport.thread-factory.client-worker-thread-prefix, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.RpcClientBootstrap.start:157 [INFO ] RpcClientBootstrap has started
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property transport.thread-factory.client-selector-thread-size, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property transport.thread-factory.client-selector-thread-prefix, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property client.rm.async.commit.buffer.limit, try to use default value instead.
   22:00:27 io.seata.rm.datasource.AsyncWorker.init:126 [INFO ] Async Commit Buffer Limit: 10000
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property transport.thread-factory.client-worker-thread-prefix, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.RpcClientBootstrap.start:157 [INFO ] RpcClientBootstrap has started
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property client.rm.table.meta.check.enable, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.NettyClientChannelManager.reconnect:170 [ERROR] no available service 'null' found, please make sure registry config correct
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.NettyClientChannelManager.reconnect:170 [ERROR] no available service 'null' found, please make sure registry config correct
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.NettyClientChannelManager.reconnect:170 [ERROR] no available service 'null' found, please make sure registry config correct
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.NettyClientChannelManager.reconnect:170 [ERROR] no available service 'null' found, please make sure registry config correct
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.NettyClientChannelManager.reconnect:170 [ERROR] no available service 'null' found, please make sure registry config correct
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.NettyClientChannelManager.reconnect:170 [ERROR] no available service 'null' found, please make sure registry config correct
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.NettyClientChannelManager.reconnect:170 [ERROR] no available service 'null' found, please make sure registry config correct
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.NettyClientChannelManager.reconnect:170 [ERROR] no available service 'null' found, please make sure registry config correct
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.NettyClientChannelManager.reconnect:170 [ERROR] no available service 'null' found, please make sure registry config correct
   22:00:27 io.seata.common.loader.EnhancedServiceLoader.loadFile:236 [INFO ] load ContextCore[null] extension by class[io.seata.core.context.ThreadLocalContextCore]
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property client.tm.commit.retry.count, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property client.tm.rollback.retry.count, try to use default value instead.
   22:00:27 io.seata.common.loader.EnhancedServiceLoader.loadFile:236 [INFO ] load TransactionManager[null] extension by class[io.seata.tm.DefaultTransactionManager]
   22:00:27 io.seata.tm.TransactionManagerHolder$SingletonHolder.<clinit>:40 [INFO ] TransactionManager Singleton io.seata.tm.DefaultTransactionManager@8f8e2b6
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.common.loader.EnhancedServiceLoader.loadFile:236 [INFO ] load LoadBalance[null] extension by class[io.seata.discovery.loadbalance.RandomLoadBalance]
   
   No available service
   io.seata.common.exception.FrameworkException: No available service
   	at io.seata.core.rpc.netty.AbstractRpcRemotingClient.loadBalance(AbstractRpcRemotingClient.java:282)
   	at io.seata.core.rpc.netty.AbstractRpcRemotingClient.sendMsgWithResponse(AbstractRpcRemotingClient.java:228)
   	at io.seata.core.rpc.netty.AbstractRpcRemotingClient.sendMsgWithResponse(AbstractRpcRemotingClient.java:236)
   
   ```
   I am just config seata.conf and start seate server content :
   ```
   client {
       application.id=study-sharding-jdbc
       transaction.service.group = study-sharding-jdbc_tx_group
   }
   ```
   
   Is have any other config ?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] fengyunhe commented on issue #5293: Is seata.conf required?

Posted by GitBox <gi...@apache.org>.
fengyunhe commented on issue #5293:
URL: https://github.com/apache/shardingsphere/issues/5293#issuecomment-619285743


   @kimmking  thank you


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] fengyunhe commented on issue #5293: Is seata.conf required?

Posted by GitBox <gi...@apache.org>.
fengyunhe commented on issue #5293:
URL: https://github.com/apache/shardingsphere/issues/5293#issuecomment-618412606


   i am not understand how to config. i am get a error is  'no available service 'null' found, please make sure registry config correct'
   ```
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.enableDegrade, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property transport.thread-factory.client-worker-thread-prefix, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.RpcClientBootstrap.start:157 [INFO ] RpcClientBootstrap has started
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property transport.thread-factory.client-selector-thread-size, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property transport.thread-factory.client-selector-thread-prefix, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property client.rm.async.commit.buffer.limit, try to use default value instead.
   22:00:27 io.seata.rm.datasource.AsyncWorker.init:126 [INFO ] Async Commit Buffer Limit: 10000
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property transport.thread-factory.client-worker-thread-prefix, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.RpcClientBootstrap.start:157 [INFO ] RpcClientBootstrap has started
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property client.rm.table.meta.check.enable, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.NettyClientChannelManager.reconnect:170 [ERROR] no available service 'null' found, please make sure registry config correct
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.NettyClientChannelManager.reconnect:170 [ERROR] no available service 'null' found, please make sure registry config correct
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.NettyClientChannelManager.reconnect:170 [ERROR] no available service 'null' found, please make sure registry config correct
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.NettyClientChannelManager.reconnect:170 [ERROR] no available service 'null' found, please make sure registry config correct
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.NettyClientChannelManager.reconnect:170 [ERROR] no available service 'null' found, please make sure registry config correct
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.NettyClientChannelManager.reconnect:170 [ERROR] no available service 'null' found, please make sure registry config correct
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.NettyClientChannelManager.reconnect:170 [ERROR] no available service 'null' found, please make sure registry config correct
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.NettyClientChannelManager.reconnect:170 [ERROR] no available service 'null' found, please make sure registry config correct
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.core.rpc.netty.NettyClientChannelManager.reconnect:170 [ERROR] no available service 'null' found, please make sure registry config correct
   22:00:27 io.seata.common.loader.EnhancedServiceLoader.loadFile:236 [INFO ] load ContextCore[null] extension by class[io.seata.core.context.ThreadLocalContextCore]
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property client.tm.commit.retry.count, try to use default value instead.
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property client.tm.rollback.retry.count, try to use default value instead.
   22:00:27 io.seata.common.loader.EnhancedServiceLoader.loadFile:236 [INFO ] load TransactionManager[null] extension by class[io.seata.tm.DefaultTransactionManager]
   22:00:27 io.seata.tm.TransactionManagerHolder$SingletonHolder.<clinit>:40 [INFO ] TransactionManager Singleton io.seata.tm.DefaultTransactionManager@8f8e2b6
   22:00:27 io.seata.config.FileConfiguration$ConfigOperateRunnable.run:266 [WARN ] Could not found property service.vgroup_mapping.study-sharding-jdbc_tx_group, try to use default value instead.
   22:00:27 io.seata.common.loader.EnhancedServiceLoader.loadFile:236 [INFO ] load LoadBalance[null] extension by class[io.seata.discovery.loadbalance.RandomLoadBalance]
   
   No available service
   io.seata.common.exception.FrameworkException: No available service
   	at io.seata.core.rpc.netty.AbstractRpcRemotingClient.loadBalance(AbstractRpcRemotingClient.java:282)
   	at io.seata.core.rpc.netty.AbstractRpcRemotingClient.sendMsgWithResponse(AbstractRpcRemotingClient.java:228)
   	at io.seata.core.rpc.netty.AbstractRpcRemotingClient.sendMsgWithResponse(AbstractRpcRemotingClient.java:236)
   
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] kimmking commented on issue #5293: Is seata.conf required?

Posted by GitBox <gi...@apache.org>.
kimmking commented on issue #5293:
URL: https://github.com/apache/shardingsphere/issues/5293#issuecomment-618463486


   remove seata-starter and use seata.conf.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] kimmking commented on issue #5293: Is seata.conf required?

Posted by GitBox <gi...@apache.org>.
kimmking commented on issue #5293:
URL: https://github.com/apache/shardingsphere/issues/5293#issuecomment-618827349


   @fengyunhe 
   https://seata.io/zh-cn/docs/user/configurations.html
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] fengyunhe commented on issue #5293: Is seata.conf required?

Posted by GitBox <gi...@apache.org>.
fengyunhe commented on issue #5293:
URL: https://github.com/apache/shardingsphere/issues/5293#issuecomment-618804475


   Hi, @kimmking   
   
   ```
   client {
       application.id=study-sharding-jdbc
       transaction.service.group = my_test_tx_group
   }
   ```
   what is transaction.service.group , if i use a value not is `my_test_tx_group` then get error ,but use value is `my_test_tx_group`, then get successful.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org