Skip to content

Commit ec26594

Browse files
committed
Documentation.
1 parent 6354b9c commit ec26594

File tree

2 files changed

+33
-7
lines changed

2 files changed

+33
-7
lines changed

README.md

+23-7
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,35 @@
11
# Introduction
22

3-
Kafka Connect transform to assist with archiving to S3.
3+
# Transformations
44

5-
## Kafka 0.11.x and newer
6-
7-
```properties
5+
## Archive
86

7+
The Archive transformation is used to help preserve all of the data for a message when archived to S3.
98

10-
```
9+
### Configuration
1110

12-
## Kafka 0.10.x and older
11+
| Name | Type | Importance | Default Value | Validator | Documentation|
12+
| ---- | ---- | ---------- | ------------- | --------- | -------------|
1313

14-
```properties
1514

15+
#### Standalone Example
1616

17+
```properties
18+
transforms=Archive
19+
transforms.Archive.type=com.github.jcustenborder.kafka.connect.archive.Archive
20+
# The following values must be configured.
21+
```
1722

23+
#### Distributed Example
24+
25+
```json
26+
{
27+
"name": "connector1",
28+
"config": {
29+
"connector.class": "com.github.jcustenborder.kafka.connect.archive.Archive",
30+
"transforms": "Archive",
31+
"transforms.Archive.type": "com.github.jcustenborder.kafka.connect.archive.Archive",
32+
}
33+
}
1834
```
1935

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package com.github.jcustenborder.kafka.connect.archive;
2+
3+
import com.github.jcustenborder.kafka.connect.utils.BaseDocumentationTest;
4+
5+
public class DocumentationTest extends BaseDocumentationTest {
6+
@Override
7+
protected String[] packages() {
8+
return new String[]{this.getClass().getPackage().getName()};
9+
}
10+
}

0 commit comments

Comments
 (0)