You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2019/06/15 00:05:14 UTC

[pulsar] branch master updated: [Doc] Fix schema layout (#4531)

This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new d2d432c  [Doc] Fix schema layout (#4531)
d2d432c is described below

commit d2d432ce3833445fc71b4c0fca55b71663de38e8
Author: Anonymitaet <50...@users.noreply.github.com>
AuthorDate: Sat Jun 15 08:05:09 2019 +0800

    [Doc] Fix schema layout (#4531)
---
 site2/docs/io-quickstart.md | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/site2/docs/io-quickstart.md b/site2/docs/io-quickstart.md
index e58b623..ec42d32 100644
--- a/site2/docs/io-quickstart.md
+++ b/site2/docs/io-quickstart.md
@@ -480,12 +480,7 @@ Now that we have a MySQL running locally. In this section, we will configure a J
     The schema has been uploaded successfully if the following message appears.
 
     ```text
-    {
-      "name" : "pulsar-mysql-jdbc-sink-topic",
-      "schema" : "eyJ0eXBlIjoicmVjb3JkIiwibmFtZSI6IlRlc3QiLCJmaWVsZHMiOlt7Im5hbWUiOiJpZCIsInR5cGUiOlsibnVsbCIsImludCJdfSx7Im5hbWUiOiJuYW1lIiwidHlwZSI6WyJudWxsIiwic3RyaW5nIl19XX0=",
-      "type" : "AVRO",
-      "properties" : { }
-    }
+    {"name":"pulsar-mysql-jdbc-sink-topic","schema":"{\"type\":\"record\",\"name\":\"Test\",\"fields\":[{\"name\":\"id\",\"type\":[\"null\",\"int\"]},{\"name\":\"name\",\"type\":[\"null\",\"string\"]}]}","type":"AVRO","properties":{}}
     ```
 
 ### Submit a JDBC sink
@@ -747,4 +742,4 @@ The results shows that the sink connector does not exist.
 HTTP 404 Not Found
 
 Reason: Sink pulsar-mysql-jdbc-sink doesn't exist
-```
\ No newline at end of file
+```