Skip to content

Commit

Permalink
checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
ableegoldman committed Nov 22, 2023
1 parent 5c15ca0 commit a883999
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,9 @@
import com.datastax.oss.driver.api.core.cql.BoundStatement;
import dev.responsive.kafka.internal.db.partitioning.TablePartitioner;
import dev.responsive.kafka.internal.stores.RemoteWriteResult;
import java.util.List;
import org.apache.kafka.streams.errors.TaskMigratedException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class LwtWriterFactory<K, P> extends WriterFactory<K, P> {

private static final Logger LOG = LoggerFactory.getLogger(LwtWriterFactory.class);

private final RemoteTable<K, BoundStatement> table;
private final TableMetadata<P> tableMetadata;
private final CassandraClient client;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public SegmentPartitioner(
retentionPeriodMs, segmentIntervalMs, windowSizeMs);
throw new IllegalStateException("Segment partitioner received a negative or zero value");
}

LOG.info("Created segment partitioner with retentionPeriod={}ms, segmentInterval={}ms,"
+ " and windowSize={}ms", retentionPeriodMs, segmentIntervalMs, windowSizeMs);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ public Stamped(final K key, final long stamp) {

@Override
public String toString() {
return "Stamped{" +
"key=" + key +
", windowStart=" + stamp +
'}';
return "Stamped{"
+ "key=" + key
+ ", windowStart=" + stamp
+ '}';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicLong;
import java.util.function.Supplier;
import org.apache.kafka.clients.admin.Admin;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
import dev.responsive.kafka.internal.db.CassandraClient;
import dev.responsive.kafka.internal.db.CassandraKeyValueTable;
import dev.responsive.kafka.internal.db.KeySpec;
import dev.responsive.kafka.internal.db.LwtWriterFactory;
import dev.responsive.kafka.internal.db.partitioning.SubPartitioner;
import dev.responsive.kafka.internal.db.spec.BaseTableSpec;
import dev.responsive.kafka.internal.metrics.ClientVersionMetadata;
Expand Down

0 comments on commit a883999

Please sign in to comment.