Skip to content

Commit

Permalink
fix: change default SkipStrategy to NeverSkip (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
s12f authored Dec 11, 2023
1 parent 8daffb1 commit 504f2a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
@Slf4j
public class SinkSkipStrategyImpl implements SinkSkipStrategy {
// skip
int skipCount = -1;
int skipCount = 0;
AtomicInteger skipped = new AtomicInteger(0);
HStreamClient client;
ErrorRecorder errorRecorder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static public class SkipStrategy implements SpecProperty {
String uiShowName = "Skip Strategy";
String description = "skip strategy if records is unwritable";
String type = "string";
JsonNode defaultValue = new TextNode("SkipAll");
JsonNode defaultValue = new TextNode("NeverSkip");
List<JsonNode> enumValues = List.of(new TextNode(SkipStrategyEnum.SkipAll.name()),
new TextNode(SkipStrategyEnum.NeverSkip.name()),
new TextNode(SkipStrategyEnum.SkipSome.name()));
Expand Down

0 comments on commit 504f2a3

Please sign in to comment.