记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
c68b3fea
Commit
c68b3fea
authored
Mar 06, 2022
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 redis 添加 购物车消费
parent
dc89a788
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
17 deletions
+33
-17
application-test.yml
liquidnet-bus-config/liquidnet-config/application-test.yml
+17
-17
ConsumerGoblinShopCartStreamConfig.java
...mer/goblin/config/ConsumerGoblinShopCartStreamConfig.java
+16
-0
No files found.
liquidnet-bus-config/liquidnet-config/application-test.yml
View file @
c68b3fea
...
...
@@ -34,50 +34,50 @@ liquidnet:
kylin
:
database
:
255
dbs
:
0,256
host
:
r-2ze
7002ckw5u75fgukpd
.redis.rds.aliyuncs.com
host
:
r-2ze
tgw7zdxea5wtnr8
.redis.rds.aliyuncs.com
port
:
6380
password
:
PO@B!Iud32
password
:
Zhengzai@2021
slime
:
database
:
255
dbs
:
0,256
host
:
r-2ze
7002ckw5u75fgukpd
.redis.rds.aliyuncs.com
host
:
r-2ze
tgw7zdxea5wtnr8
.redis.rds.aliyuncs.com
port
:
6380
password
:
PO@B!Iud32
password
:
Zhengzai@2021
dragon
:
database
:
255
dbs
:
0,256
host
:
r-2ze
7002ckw5u75fgukpd
.redis.rds.aliyuncs.com
host
:
r-2ze
tgw7zdxea5wtnr8
.redis.rds.aliyuncs.com
port
:
6380
password
:
PO@B!Iud32
password
:
Zhengzai@2021
sweet
:
database
:
255
dbs
:
0,256
host
:
r-2ze
7002ckw5u75fgukpd
.redis.rds.aliyuncs.com
host
:
r-2ze
tgw7zdxea5wtnr8
.redis.rds.aliyuncs.com
port
:
6380
password
:
PO@B!Iud32
password
:
Zhengzai@2021
adam
:
database
:
255
dbs
:
0,256
host
:
r-2ze
7002ckw5u75fgukpd
.redis.rds.aliyuncs.com
host
:
r-2ze
tgw7zdxea5wtnr8
.redis.rds.aliyuncs.com
port
:
6380
password
:
PO@B!Iud32
password
:
Zhengzai@2021
candy
:
database
:
255
dbs
:
0,256
host
:
r-2ze
7002ckw5u75fgukpd
.redis.rds.aliyuncs.com
host
:
r-2ze
tgw7zdxea5wtnr8
.redis.rds.aliyuncs.com
port
:
6380
password
:
PO@B!Iud32
password
:
Zhengzai@2021
goblin
:
database
:
255
dbs
:
0,256
host
:
r-2ze
7002ckw5u75fgukpd
.redis.rds.aliyuncs.com
host
:
r-2ze
tgw7zdxea5wtnr8
.redis.rds.aliyuncs.com
port
:
6380
password
:
PO@B!Iud32
password
:
Zhengzai@2021
mongodb
:
host
:
39.107.71.112:270
17
port
:
270
17
host
:
s-2zeb52774ceac644.mongodb.rds.aliyuncs.com:3717,s-2ze8994d25d37d74.mongodb.rds.aliyuncs.com:37
17
port
:
37
17
user
:
admin
pwd
:
S&y$6d*JwJ
pwd
:
Zhengzai@2022
service
:
adam
:
url-pay
:
...
...
liquidnet-bus-service/liquidnet-service-consumer-all/liquidnet-service-consumer-goblin/src/main/java/com/liquidnet/service/consumer/goblin/config/ConsumerGoblinShopCartStreamConfig.java
View file @
c68b3fea
...
...
@@ -59,4 +59,20 @@ public class ConsumerGoblinShopCartStreamConfig {
return
subscription
;
}
@Bean
public
Subscription
subscriptionSqlShopCart3
(
RedisConnectionFactory
factory
)
{
var
listenerContainer
=
this
.
buildStreamMessageListenerContainer
(
factory
);
var
subscription
=
receiveSqlShopCart
(
listenerContainer
,
2
);
listenerContainer
.
start
();
return
subscription
;
}
@Bean
public
Subscription
subscriptionSqlShopCart4
(
RedisConnectionFactory
factory
)
{
var
listenerContainer
=
this
.
buildStreamMessageListenerContainer
(
factory
);
var
subscription
=
receiveSqlShopCart
(
listenerContainer
,
2
);
listenerContainer
.
start
();
return
subscription
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment