Skip to content

Commit

Permalink
update nats docs
Browse files Browse the repository at this point in the history
  • Loading branch information
osheroff committed Feb 10, 2021
1 parent 02ed99a commit 8f52e71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/docs/producers.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,13 +222,13 @@ The producer uses the [AWS SQS SDK](http://docs.aws.amazon.com/AWSJavaSDK/latest

# Nats
***
To produce messages to Nats, you can have the configuration specify in `config.properties`.

The configurable properties are:
The configurable properties for nats are:

- `nats_url` - defaults to **nats://localhost:4222**
- `nats_subject` - defaults to **%{database}.%{table}**
- This interpolated string config controls the subject hierarchies, where `%{database}` and `%{table}` and `%{type}` are placeholders that will be substituted at runtime. All non alphanumeric characters, all dots, all whitespaces, contained in the database, table or type will be replaced by underscores.

`nats_subject` defines the Nats subject hierarchy to write to. [Topic substitution](/producers#topic-substitution) is available.
All non-alphanumeric characters in the substitued values will be replaced by underscores.

# Google Cloud Pub/Sub
***
Expand Down

0 comments on commit 8f52e71

Please sign in to comment.