Skip to content

Commit

Permalink
Add default configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Pil0tXia committed Apr 17, 2024
1 parent b5fe68d commit 91e4912
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 7 additions & 1 deletion eventmesh-runtime/conf/eventmesh.properties
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,19 @@ eventMesh.server.retry.plugin.type=default
eventMesh.server.gracefulShutdown.sleepIntervalInMills=1000
eventMesh.server.rebalanceRedirect.sleepIntervalInMills=200

# TLS
eventMesh.server.useTls.enabled=false
eventMesh.server.ssl.protocol=TLSv1.1
eventMesh.server.ssl.cer=sChat2.jks
eventMesh.server.ssl.pass=sNetty

# ip address blacklist
eventMesh.server.blacklist.ipv4=0.0.0.0/8,127.0.0.0/8,169.254.0.0/16,255.255.255.255/32
eventMesh.server.blacklist.ipv6=::/128,::1/128,ff00::/8

########################## EventMesh HTTP Admin Configuration ##########################
eventMesh.server.admin.threads.num=2
eventMesh.server.admin.useTls.enabled=true
eventMesh.server.admin.useTls.enabled=false
eventMesh.server.admin.ssl.protocol=TLSv1.3
eventMesh.server.admin.ssl.cer=eventmesh-admin-server.jks
eventMesh.server.admin.ssl.pass=eventmesh-admin-server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ public class EventMeshHTTPConfiguration extends CommonConfiguration {
@ConfigField(field = "http.port", notNull = true, beNumber = true)
private int httpServerPort = 10105;

@ConfigField(field = "admin.http.port")
private int eventMeshServerAdminPort = 10106;

@ConfigField(field = "batchmsg.batch.enabled")
private boolean eventMeshServerBatchMsgBatchEnabled = Boolean.TRUE;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ eventMesh.server.provide.protocols=TCP,HTTP,GRPC

# EventMeshHTTPConfiguration config
eventMesh.server.http.port=1816
eventMesh.server.admin.http.port=1817
eventMesh.server.batchmsg.batch.enabled=false
eventMesh.server.batchmsg.threads.num=2816
eventMesh.server.sendmsg.threads.num=3816
Expand Down

0 comments on commit 91e4912

Please sign in to comment.