You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/persistence/kafka/README.md
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,9 @@
1
+
---
2
+
description: >-
3
+
Kafka is a distributed streaming platform that can be used to publish and
4
+
subscribe to streams of records. It is a good alternative to synchronous
5
+
communication between services if you need to decouple services.
6
+
---
1
7
# Kafka
2
8
3
9
NAV uses Aiven hosted Kafka.
@@ -17,7 +23,7 @@ To get started, see [accessing topics from an application](manage_topics.md#acce
17
23
Kafka as a system is highly durable, and is designed to be able to keep your data safe in the event of a failure.
18
24
This requires a properly configured replication factor for your topic, and that your clients use the appropriate strategy when sending messages and committing offsets.
19
25
Even so, our recommendation is that Kafka should not be the master of your data, and you should have the ability to restore your data from some other system.
| REDIS_URI_SESSIONS | The URI for the Redis instance, typically with a `rediss` scheme. <br/>Example: `rediss://redis-team-sessions-nav-dev.aivencloud.com:26483`|
47
47
| REDIS_USERNAME_SESSIONS | The username to use when connecting. |
48
48
| REDIS_PASSWORD_SESSIONS | The password to use when connecting. |
@@ -58,7 +58,7 @@ We recommend creating your Redis instances in their own workflow for more contro
58
58
Creating a Redis instance is done by adding a Redis resource to your namespace with detailed configuration.
59
59
Some configuration is enforced by the nais platform, while the rest is up to the users.
60
60
61
-
Earlier we talked about the "instance name".
61
+
Earlier we talked about the "instance name".
62
62
In reality, the actual name of the redis instance will be `redis-<team name>-<instance name>` (where `team name` is the same as the namespace your application resides in).
63
63
The resource needs to have this full name in order to be accepted.
64
64
@@ -81,8 +81,8 @@ spec:
81
81
A minimal Redis resource only requires `plan` and `project`.
82
82
83
83
* `project` should match your nais tenant (`nav`, `mtpilot`, `ssb` or `fhi`) and the environment you are running in (ex. `dev`, `prod`), with a dash (`-`) in between.
84
-
* `plan` is the Aiven plan for your Redis instance.
85
-
See Aivens list of [possible plan values](https://aiven.io/pricing?product=redis).
84
+
* `plan` is the Aiven plan for your Redis instance.
85
+
See Aivens list of [possible plan values](https://aiven.io/pricing?product=redis).
86
86
The values are lowercased.
87
87
Make sure you understand the differences between the plans before selecting the one you need.
@@ -102,23 +102,22 @@ Business plans are backed up every 12 hours, keeping 3 days of backups available
102
102
103
103
Once the resource is added to the cluster, some additional fields are filled in by the platform and should be left alone unless you have a good reason:
0 commit comments