Skip to content

Commit f9dfaaa

Browse files
author
Mike Skells
committed
add some comments, to describe enums
1 parent b81f82a commit f9dfaaa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

commons/src/main/java/io/aiven/kafka/connect/common/config/TimestampSource.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,15 @@ public interface TimestampSource {
3838

3939
enum Type {
4040

41+
/** Use the current wallclock time */
4142
WALLCLOCK,
43+
/** Use the event timestamp */
4244
EVENT,
45+
/** Use a header value to specify the date */
4346
HEADER,
47+
/** Extract the timestamp from the payload */
4448
SIMPLE_DATA,
49+
/** Use a custom timestamp source */
4550
CUSTOM
4651

4752
}

0 commit comments

Comments
 (0)