Skip to content

Commit

Permalink
Update indexer config in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenyang007 authored and davidiw committed Oct 10, 2023
1 parent ed95ec3 commit df5fe43
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion developer-docs-site/docs/indexer/legacy/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,15 @@ For each processor you're migrating, you'll need to create a config file using t
```yaml
health_check_port: 8084
server_config:
processor_name: default_processor
processor_config:
type: default_processor
postgres_connection_string: <postgres_uri, e.g. postgresql://postgres:@localhost:5432/indexer>
indexer_grpc_data_service_address: <url_from_api_gateway>
indexer_grpc_http2_ping_interval_in_secs: 60
indexer_grpc_http2_ping_timeout_in_secs: 10
auth_token: <auto_token_from_api_gateway>
starting_version: 0 # optional
ending_version: 0 # optional
```
To connect the processor to the Transaction Stream Service, you need to set the URL for `indexer_grpc_data_service_address`. Choose one of the following options.
Expand Down

0 comments on commit df5fe43

Please sign in to comment.