Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzhiguo committed Jun 25, 2024
1 parent fc14c5d commit a83be79
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 8 deletions.
22 changes: 18 additions & 4 deletions deploy/all-cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,15 +175,14 @@ data:
- redis
disables: null
dynamics: null
passives: null
profiles:
test: null
production: null
profile: null
sync:
liveSpace:
type: multilive # [file,multilive]
url: ${CONFIG_LIVE_SPACE_API_URL:http://11.159.56.136:30305/v1}
url: ${CONFIG_LIVE_SPACE_API_URL:http://api.multilive.local:8080/v1}
#spacesUrl: ${CONFIG_LIVE_SPACE_API_URL}/workspaces
#spaceUrl: ${CONFIG_LIVE_SPACE_API_URL}/workspaces/${space_id}/version/${space_version}
#serviceUrl: ${CONFIG_LIVE_SPACE_API_URL}/services/${service_name}/version/${service_version}
Expand Down Expand Up @@ -214,8 +213,9 @@ data:
jsf: true
spring: true
phevos: true
rocketmq: true
lane:
enabled: ${CONFIG_LANE_ENABLED:true}
enabled: ${CONFIG_LANE_ENABLED:false}
transmission:
enabled: ${CONFIG_TRANSMISSION_ENABLED:true}
threadpool: ${CONFIG_TRANSMISSION_THREADPOOL_ENABLED:true}
Expand All @@ -241,16 +241,30 @@ data:
counter:
enabled: true
governance:
initializeTimeout: ${CONFIG_POLICY_INITIALIZE_TIMEOUT:10000}
service:
warmups: ${CONFIG_WARMUP_SERVICES:}
excludes:
- org.apache.dubbo.metadata.MetadataService
initializeTimeout: ${CONFIG_POLICY_INITIALIZE_TIMEOUT:10000}
live:
topics: ${CONFIG_LIVE_TOPICS}
lane:
topics: ${CONFIG_LANE_TOPICS}
router:
virtual: ${CONFIG_VIRTUAL_SIZE:500}
phevos:
groupExpression: ${unit}-${cell}-${group}
transmission:
keys:
- x-live-space-id
- x-live-rule-id
- x-live-uid
- x-lane-space-id
- x-lane-code
prefixes:
- x-live-
- x-lane-
- x-service-
thread:
excludeExecutors:
- org.apache.dubbo.common.threadpool.ThreadlessExecutor
Expand Down
22 changes: 18 additions & 4 deletions deploy/joylive-injector/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,14 @@ agent:
- redis
disables: null
dynamics: null
passives: null
profiles:
test: null
production: null
profile: null
sync:
liveSpace:
type: multilive # [file,multilive]
url: ${CONFIG_LIVE_SPACE_API_URL:http://11.159.56.136:30305/v1}
url: ${CONFIG_LIVE_SPACE_API_URL:http://api.multilive.local:8080/v1}
#spacesUrl: ${CONFIG_LIVE_SPACE_API_URL}/workspaces
#spaceUrl: ${CONFIG_LIVE_SPACE_API_URL}/workspaces/${space_id}/version/${space_version}
#serviceUrl: ${CONFIG_LIVE_SPACE_API_URL}/services/${service_name}/version/${service_version}
Expand Down Expand Up @@ -89,8 +88,9 @@ agent:
jsf: true
spring: true
phevos: true
rocketmq: true
lane:
enabled: ${CONFIG_LANE_ENABLED:true}
enabled: ${CONFIG_LANE_ENABLED:false}
transmission:
enabled: ${CONFIG_TRANSMISSION_ENABLED:true}
threadpool: ${CONFIG_TRANSMISSION_THREADPOOL_ENABLED:true}
Expand All @@ -116,16 +116,30 @@ agent:
counter:
enabled: true
governance:
initializeTimeout: ${CONFIG_POLICY_INITIALIZE_TIMEOUT:10000}
service:
warmups: ${CONFIG_WARMUP_SERVICES:}
excludes:
- org.apache.dubbo.metadata.MetadataService
initializeTimeout: ${CONFIG_POLICY_INITIALIZE_TIMEOUT:10000}
live:
topics: ${CONFIG_LIVE_TOPICS}
lane:
topics: ${CONFIG_LANE_TOPICS}
router:
virtual: ${CONFIG_VIRTUAL_SIZE:500}
phevos:
groupExpression: ${unit}-${cell}-${group}
transmission:
keys:
- x-live-space-id
- x-live-rule-id
- x-live-uid
- x-lane-space-id
- x-lane-code
prefixes:
- x-live-
- x-lane-
- x-service-
thread:
excludeExecutors:
- org.apache.dubbo.common.threadpool.ThreadlessExecutor
Expand Down
Binary file modified deploy/packages/joylive-injector-1.0.0.tgz
Binary file not shown.

0 comments on commit a83be79

Please sign in to comment.