Skip to content

Commit d8e7b17

Browse files
Merge pull request #52 from ExpediaDotCom/update-default-port
update default ports for spans and blobs grcp servers
2 parents ae73eb8 + 6bd9b81 commit d8e7b17

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ The configuration readers are also implemented using the SPI design model. For n
3939
provider that is implemented [here](https://github.com/ExpediaDotCom/haystack-agent/tree/master/config-providers/file).
4040
Below is an example configuration that loads a single agent provider that reads protobuf spans and blobs over GRPC.
4141

42-
The span agent spins up a GRPC server listening on port 34000 and publishes, via the configured dispatchers. The
42+
The span agent spins up a GRPC server listening on port 35000 and publishes, via the configured dispatchers. The
4343
sample configuration below configures all the three Kinesis, Kafka and HTTP dispatchers.
4444

45-
The blob agent spins up a GRPC server listening on port 34001 and publishes, via the configured dispatchers. The
45+
The blob agent spins up a GRPC server listening on port 35001 and publishes, via the configured dispatchers. The
4646
sample configuration below configures AWS S3 dispatcher.
4747

4848
The app or microservice needs to use a GRPC
@@ -52,7 +52,7 @@ client to send messages to this haystack-agent.
5252
agents {
5353
spans {
5454
enabled = true
55-
port = 34000
55+
port = 35000
5656
5757
dispatchers {
5858
kinesis {
@@ -77,7 +77,7 @@ agents {
7777
}
7878
ossblobs {
7979
enabled = false
80-
port = 34001
80+
port = 35001
8181
max.blob.size.in.kb = 512
8282
dispatchers {
8383
s3 {
@@ -230,7 +230,7 @@ b. client.connectionpool.keepalive.minutes - keep alive duration in minutes for
230230

231231
### S3 Dispatcher
232232

233-
This dispatcher is specifically for dispatching blobs to AWS S3 Server. It also has the ability to read the blobs from the same bucket. You need a GRPC client to read the blobs from port 34001.
233+
This dispatcher is specifically for dispatching blobs to AWS S3 Server. It also has the ability to read the blobs from the same bucket. You need a GRPC client to read the blobs from port 35001.
234234

235235
```
236236
region - aws region for e.g. us-west-2

docker/default.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
agents {
22
spans {
33
enabled = true
4-
port = 34000
4+
port = 35000
55
dispatchers {
66
kafka {
77
bootstrap.servers = "kafkasvc:9092"
@@ -13,7 +13,7 @@ agents {
1313
}
1414
ossblobs {
1515
enabled = false
16-
port = 34001
16+
port = 35001
1717
max.blob.size.in.kb = 512
1818
dispatchers {
1919
s3 {
@@ -29,4 +29,4 @@ agents {
2929
}
3030
}
3131
}
32-
}
32+
}

0 commit comments

Comments
 (0)