This is an automated email from the ASF dual-hosted git repository.
kkarantasis pushed a commit to branch 1.0
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/1.0 by this push:
new 19dd7a8 MINOR: Fix code example reference to SchemaBuilder call in
Connect's documentation (#3029)
19dd7a8 is described below
commit 19dd7a8b2992406adc295efba32f23e844501253
Author: Scott <[email protected]>
AuthorDate: Sat Mar 28 21:34:07 2020 -0400
MINOR: Fix code example reference to SchemaBuilder call in Connect's
documentation (#3029)
Simple doc fix in a code snippet in connect.html
Co-authored-by: Scott Ferguson <[email protected]>
Reviewers: Ewen Cheslack-Postava <[email protected]>, Konstantine Karantasis
<[email protected]>
---
docs/connect.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/connect.html b/docs/connect.html
index 886e348..4484cab 100644
--- a/docs/connect.html
+++ b/docs/connect.html
@@ -450,7 +450,7 @@
Schema schema = SchemaBuilder.struct().name(NAME)
.field("name", Schema.STRING_SCHEMA)
.field("age", Schema.INT_SCHEMA)
- .field("admin", new
SchemaBuilder.boolean().defaultValue(false).build())
+ .field("admin", SchemaBuilder.bool().defaultValue(false).build())
.build();
Struct struct = new Struct(schema)