Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMTs ctors visibility #8

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<groupId>io.lenses</groupId>
<artifactId>kafka-connect-smt</artifactId>
<version>1.1.0-SNAPSHOT</version>
<version>1.1.1-SNAPSHOT</version>
<packaging>jar</packaging>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
public class InsertRecordTimestampHeaders<R extends ConnectRecord<R>>
extends InsertTimestampHeaders<R> {

protected InsertRecordTimestampHeaders() {
public InsertRecordTimestampHeaders() {
super(InsertRecordTimestampHeaders.CONFIG_DEF);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ abstract class InsertRollingTimestampHeaders<R extends ConnectRecord<R>>
"The rolling window type. The allowed values are hours, minutes or seconds.");
private RollingWindowDetails rollingWindowDetails;

protected InsertRollingTimestampHeaders() {
public InsertRollingTimestampHeaders() {
super(CONFIG_DEF);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ class InsertRollingWallclockHeaders<R extends ConnectRecord<R>>

private Supplier<Instant> supplier = Instant::now;

public InsertRollingWallclockHeaders() {
super();
}

// used solely for testing purposes
void setInstantSupplier(Supplier<Instant> supplier) {
this.supplier = supplier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
public class InsertWallclockHeaders<R extends ConnectRecord<R>> extends InsertTimestampHeaders<R> {
private Supplier<Instant> instantSupplier = Instant::now;

protected InsertWallclockHeaders() {
public InsertWallclockHeaders() {
super(InsertTimestampHeaders.CONFIG_DEF);
}

Expand Down
Loading