Skip to content

Commit

Permalink
Restoring config file
Browse files Browse the repository at this point in the history
  • Loading branch information
prathyushpv committed Sep 5, 2023
1 parent 4e77e95 commit 972e7d6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extensibility/authorizer/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func main() {
}

s, err := temporal.NewServer(
temporal.ForServices(temporal.Services),
temporal.ForServices(temporal.DefaultServices),
temporal.WithConfig(cfg),
temporal.InterruptOn(temporal.InterruptCh()),
temporal.WithClaimMapper(func(cfg *config.Config) authorization.ClaimMapper {
Expand Down
31 changes: 29 additions & 2 deletions extensibility/config/development.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,33 +17,47 @@ global:
broadcastAddress: "127.0.0.1"
pprof:
port: 7936
metrics:
tags:

services:
frontend:
rpc:
grpcPort: 7233
membershipPort: 6933
bindOnLocalHost: true
metrics:
statsd:
hostPort: "127.0.0.1:8125"
prefix: "temporal"

matching:
rpc:
grpcPort: 7235
membershipPort: 6935
bindOnLocalHost: true
metrics:
statsd:
hostPort: "127.0.0.1:8125"
prefix: "temporal"

history:
rpc:
grpcPort: 7234
membershipPort: 6934
bindOnLocalHost: true
metrics:
statsd:
hostPort: "127.0.0.1:8125"
prefix: "temporal"

worker:
rpc:
grpcPort: 7239
membershipPort: 6939
bindOnLocalHost: true
metrics:
statsd:
hostPort: "127.0.0.1:8125"
prefix: "temporal"

clusterMetadata:
enableGlobalNamespace: false
Expand Down Expand Up @@ -88,5 +102,18 @@ namespaceDefaults:
state: "disabled"
URI: "file:///tmp/temporal_vis_archival/development"

kafka:
tls:
enabled: false
clusters:
test:
brokers:
- 127.0.0.1:9092
topics:
temporal-visibility-dev:
cluster: test
temporal-visibility-dev-dlq:
cluster: test

publicClient:
hostPort: "localhost:7233"

0 comments on commit 972e7d6

Please sign in to comment.