<commit_before># pathfinder
WebSocket-over-Kafka reverse proxy

# Dependencies
```toml
[dependencies]
clap = "2.26.2"
json = "0.11.9"
ws = "0.7.3"
yaml-rust = "0.3"

[dependencies.rdkafka]
version = "0.12.0"
features = ["ssl", "sasl"]
```

# Documentation
Information about why this reverse proxy was implemented you can find [here](https://github.com/OpenMatchmaking/documentation/blob/master/docs/components.md#reverse-proxy).

# License
The pathfinder is published under BSD license. For more details read the [LICENSE](https://github.com/OpenMatchmaking/pathfinder/blob/master/LICENSE) file.<commit_msg>Added example of configuration file<commit_after># pathfinder
WebSocket-over-Kafka reverse proxy

# Dependencies
```toml
[dependencies]
clap = "2.26.2"
json = "0.11.9"
ws = "0.7.3"
yaml-rust = "0.3"

[dependencies.rdkafka]
version = "0.12.0"
features = ["ssl", "sasl"]
```

# Configuration file

# Example of configuration file
```yaml
endpoints:
  - search:
    - url: "/api/matchmaking/search"
    - microservice: "microservice.search"
  - leaderboard:
    - url: "/api/matchmaking/leaderboard"
    - microservice: "microservice.leaderboard"
websocket:
  - "127.0.0.1:9000"
kafka:
  - "127.0.0.1:9092"
```

# Documentation
Information about why this reverse proxy was implemented you can find [here](https://github.com/OpenMatchmaking/documentation/blob/master/docs/components.md#reverse-proxy).

# License
The pathfinder is published under BSD license. For more details read the [LICENSE](https://github.com/OpenMatchmaking/pathfinder/blob/master/LICENSE) file.
{'fraction_non_alphanumeric': 0.14322087842138764, 'fraction_numerical': 0.03437301082113304, 'mean_word_length': 4.574468085106383, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7600305', 'n_tokens_mistral': 551, 'n_tokens_neox': 517, 'n_words': 125}