Skip to content

Commit 3494d41

Browse files
authored
Merge pull request #57 from huntc/key-state
Introduces key state for compaction
2 parents 06064af + ca23033 commit 3494d41

File tree

4 files changed

+278
-58
lines changed

4 files changed

+278
-58
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ serde = "1.0.151"
5353
serde_json = "1.0.90"
5454
serde_with = "2.0.1"
5555
sha2 = "0.10.6"
56-
smol_str = "0.2.0"
56+
smol_str = "0.3.2"
5757
test-log = "0.2.11"
5858
tokio = "1.23.0"
5959
tokio-stream = "0.1.11"

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ A commit log modelled on [Apache Kafka](https://kafka.apache.org/) is provided,
1010

1111
A secret store modelled on [Hashicorp Vault](https://www.vaultproject.io/) is provided along with partial support for the Vault HTTP API.
1212

13+
File-based implementations of the commit log and secret store suitable for use on embedded Linux are provided with
14+
[logged](streambed-logged/README.md) and [confidant](streambed-confidant/README.md) respectively.
15+
1316
Production services using the commit log and secret store have been shown to use less than 3MiB of resident memory
1417
while also offering good performance.
1518

streambed-logged/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ thousands of records.
137137

138138
The compaction of topics is an application concern and as it is able
139139
to consider the contents of a record. Logged provides functions to atomically "split"
140-
an existing topic log at its head and yield a new topic to compact to. The
140+
an existing topic log at its head and yield a new topic to compact to. An
141141
application-based compactor can then consume the existing topic, retain the records
142142
it needs in memory. Having consumed the topic, the application-based compactor will
143143
append the retained records to the topic to compact to. Once appended, logged can be

0 commit comments

Comments
 (0)