Skip to content

Commit

Permalink
Add db
Browse files Browse the repository at this point in the history
  • Loading branch information
rayokota committed Jul 1, 2024
1 parent ec50f26 commit 3836131
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/io/kcache/kwack/KwackMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,16 @@ public class KwackMain implements Callable<Integer> {
private String schemaRegistryUrl;

@Option(names = {"-i", "--rowinfo"},
description = "Rowinfo attributes to show: keysch (key schema id), "
description = "Rowinfo attribute(s) to show: keysch (key schema id), "
+ "valsch (value schema id), part (partition), off (offset), ts (timestamp), "
+ "tstype (timestamp type), epoch (leadership epoch), hdrs (headers)\n"
+ "Default: keysch,valsch,part,off,ts,hdrs", paramLabel = "<attr>")
private EnumSet<RowInfoAttribute> rowInfoAttrs;

@Option(names = {"-d", "--db"},
description = "DuckDB database, appended to 'jdbc:duckdb:'", paramLabel = "<db>")
private String db;

@Option(names = {"-X", "--property"},
description = "Set kwack configuration property.", paramLabel = "<prop=val>")
private Map<String, String> properties;
Expand Down

0 comments on commit 3836131

Please sign in to comment.