Skip to content
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 docs/themes/book
Submodule book updated 72 files
+0 −1 .gitignore
+24 −71 README.md
+1 −2 archetypes/docs.md
+1 −3 archetypes/posts.md
+19 −9 assets/_fonts.scss
+65 −46 assets/_main.scss
+1 −6 assets/_markdown.scss
+0 −24 assets/clipboard.js
+1 −1 assets/menu-reset.js
+32 −0 assets/search-data.js
+0 −15 assets/search-data.json
+21 −24 assets/search.js
+1 −12 exampleSite/config.toml
+1 −12 exampleSite/config.yaml
+0 −79 exampleSite/content.bn/_index.md
+21 −24 exampleSite/content/docs/shortcodes/mermaid.md
+0 −6 exampleSite/content/docs/shortcodes/section/first-page.md
+1 −0 exampleSite/content/docs/shortcodes/section/page1.md
+1 −0 exampleSite/content/docs/shortcodes/section/page2.md
+0 −6 exampleSite/content/docs/shortcodes/section/second-page.md
+1 −1 exampleSite/content/menu/index.md
+1 −1 exampleSite/resources/_gen/assets/scss/book.scss_50fc8c04e12a2f59027287995557ceff.content
+1 −1 exampleSite/resources/_gen/assets/scss/book.scss_50fc8c04e12a2f59027287995557ceff.json
+1 −0 exampleSite/resources/_gen/assets/scss/example/book.scss_50fc8c04e12a2f59027287995557ceff.content
+1 −0 exampleSite/resources/_gen/assets/scss/example/book.scss_50fc8c04e12a2f59027287995557ceff.json
+0 −3 go.mod
+0 −14 i18n/am.yaml
+0 −14 i18n/bn.yaml
+0 −20 i18n/fa.yaml
+0 −14 i18n/it.yaml
+0 −14 i18n/tr.yaml
+0 −20 i18n/zh-TW.yaml
+1 −0 layouts/404.html
+8 −8 layouts/_default/baseof.html
+1 −1 layouts/partials/docs/brand.html
+5 −9 layouts/partials/docs/footer.html
+0 −1 layouts/partials/docs/html-head-title.html
+12 −24 layouts/partials/docs/html-head.html
+0 −0 layouts/partials/docs/inject/toc-after.html
+0 −0 layouts/partials/docs/inject/toc-before.html
+19 −24 layouts/partials/docs/languages.html
+0 −1 layouts/partials/docs/menu-bundle.html
+4 −7 layouts/partials/docs/menu-filetree.html
+0 −3 layouts/partials/docs/menu.html
+1 −11 layouts/partials/docs/post-meta.html
+1 −3 layouts/partials/docs/title.html
+0 −2 layouts/partials/docs/toc.html
+1 −1 layouts/posts/list.html
+4 −2 layouts/posts/single.html
+2 −2 layouts/shortcodes/button.html
+3 −3 layouts/shortcodes/columns.html
+2 −3 layouts/shortcodes/details.html
+1 −1 layouts/shortcodes/hint.html
+1 −1 layouts/shortcodes/section.html
+1 −1 layouts/shortcodes/tabs.html
+1 −1 layouts/taxonomy/taxonomy.html
+ static/fonts/roboto-mono-v13-latin-regular.woff
+ static/fonts/roboto-mono-v13-latin-regular.woff2
+ static/fonts/roboto-mono-v6-latin-regular.woff
+ static/fonts/roboto-mono-v6-latin-regular.woff2
+ static/fonts/roboto-v19-latin-300italic.woff
+ static/fonts/roboto-v19-latin-300italic.woff2
+ static/fonts/roboto-v19-latin-700.woff
+ static/fonts/roboto-v19-latin-700.woff2
+ static/fonts/roboto-v19-latin-regular.woff
+ static/fonts/roboto-v19-latin-regular.woff2
+ static/fonts/roboto-v27-latin-700.woff
+ static/fonts/roboto-v27-latin-700.woff2
+ static/fonts/roboto-v27-latin-regular.woff
+ static/fonts/roboto-v27-latin-regular.woff2
+22 −5 static/mermaid.min.js
+0 −1 theme.toml
2 changes: 1 addition & 1 deletion flink-connectors/flink-connector-pulsar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ under the License.
<packaging>jar</packaging>

<properties>
<pulsar.version>2.10.1</pulsar.version>
<pulsar.version>2.10.2</pulsar.version>

<!-- Test Libraries -->
<protobuf-maven-plugin.version>0.6.1</protobuf-maven-plugin.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ private void writeObject(ObjectOutputStream oos) throws IOException {
oos.writeUTF(entry.getKey());
oos.writeUTF(entry.getValue());
}

// Timestamp
oos.writeLong(schemaInfo.getTimestamp());
}

private void readObject(ObjectInputStream ois) throws ClassNotFoundException, IOException {
Expand All @@ -177,7 +180,16 @@ private void readObject(ObjectInputStream ois) throws ClassNotFoundException, IO
properties.put(ois.readUTF(), ois.readUTF());
}

this.schemaInfo = new SchemaInfoImpl(name, schemaBytes, type, properties);
// Timestamp
long timestamp = ois.readLong();

this.schemaInfo = SchemaInfoImpl.builder()
.name(name)
.schema(schemaBytes)
.type(type)
.properties(properties)
.timestamp(timestamp)
.build();
this.schema = createSchema(schemaInfo);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,13 @@ public static SchemaInfo encodeClassInfo(SchemaInfo schemaInfo, Class<?> typeCla
Map<String, String> properties = new HashMap<>(schemaInfo.getProperties());
properties.put(CLASS_INFO_PLACEHOLDER, typeClass.getName());

return new SchemaInfoImpl(
schemaInfo.getName(), schemaInfo.getSchema(), schemaInfo.getType(), properties);
return SchemaInfoImpl.builder()
.name(schemaInfo.getName())
.schema(schemaInfo.getSchema())
.type(schemaInfo.getType())
.timestamp(schemaInfo.getTimestamp())
.properties(properties)
.build();
}

@SuppressWarnings("unchecked")
Expand Down