create-source-kafka.svg 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  1. <svg xmlns="http://www.w3.org/2000/svg" width="915" height="1265">
  2. <polygon points="9 17 1 13 1 21"/>
  3. <polygon points="17 17 9 13 9 21"/>
  4. <rect x="31" y="3" width="140" height="32" rx="10"/>
  5. <rect x="29"
  6. y="1"
  7. width="140"
  8. height="32"
  9. class="terminal"
  10. rx="10"/>
  11. <text class="terminal" x="39" y="21">CREATE SOURCE</text>
  12. <rect x="211" y="35" width="120" height="32" rx="10"/>
  13. <rect x="209"
  14. y="33"
  15. width="120"
  16. height="32"
  17. class="terminal"
  18. rx="10"/>
  19. <text class="terminal" x="219" y="53">IF NOT EXISTS</text>
  20. <rect x="371" y="3" width="82" height="32"/>
  21. <rect x="369" y="1" width="82" height="32" class="nonterminal"/>
  22. <text class="nonterminal" x="379" y="21">src_name</text>
  23. <rect x="206" y="145" width="26" height="32" rx="10"/>
  24. <rect x="204"
  25. y="143"
  26. width="26"
  27. height="32"
  28. class="terminal"
  29. rx="10"/>
  30. <text class="terminal" x="214" y="163">(</text>
  31. <rect x="272" y="145" width="82" height="32"/>
  32. <rect x="270" y="143" width="82" height="32" class="nonterminal"/>
  33. <text class="nonterminal" x="280" y="163">col_name</text>
  34. <rect x="272" y="101" width="24" height="32" rx="10"/>
  35. <rect x="270"
  36. y="99"
  37. width="24"
  38. height="32"
  39. class="terminal"
  40. rx="10"/>
  41. <text class="terminal" x="280" y="119">,</text>
  42. <rect x="394" y="145" width="26" height="32" rx="10"/>
  43. <rect x="392"
  44. y="143"
  45. width="26"
  46. height="32"
  47. class="terminal"
  48. rx="10"/>
  49. <text class="terminal" x="402" y="163">)</text>
  50. <rect x="480" y="177" width="104" height="32" rx="10"/>
  51. <rect x="478"
  52. y="175"
  53. width="104"
  54. height="32"
  55. class="terminal"
  56. rx="10"/>
  57. <text class="terminal" x="488" y="195">IN CLUSTER</text>
  58. <rect x="604" y="177" width="108" height="32"/>
  59. <rect x="602" y="175" width="108" height="32" class="nonterminal"/>
  60. <text class="nonterminal" x="612" y="195">cluster_name</text>
  61. <rect x="216" y="243" width="60" height="32" rx="10"/>
  62. <rect x="214"
  63. y="241"
  64. width="60"
  65. height="32"
  66. class="terminal"
  67. rx="10"/>
  68. <text class="terminal" x="224" y="261">FROM</text>
  69. <rect x="296" y="243" width="68" height="32" rx="10"/>
  70. <rect x="294"
  71. y="241"
  72. width="68"
  73. height="32"
  74. class="terminal"
  75. rx="10"/>
  76. <text class="terminal" x="304" y="261">KAFKA</text>
  77. <rect x="384" y="243" width="116" height="32" rx="10"/>
  78. <rect x="382"
  79. y="241"
  80. width="116"
  81. height="32"
  82. class="terminal"
  83. rx="10"/>
  84. <text class="terminal" x="392" y="261">CONNECTION</text>
  85. <rect x="520" y="243" width="136" height="32"/>
  86. <rect x="518" y="241" width="136" height="32" class="nonterminal"/>
  87. <text class="nonterminal" x="528" y="261">connection_name</text>
  88. <rect x="676" y="243" width="26" height="32" rx="10"/>
  89. <rect x="674"
  90. y="241"
  91. width="26"
  92. height="32"
  93. class="terminal"
  94. rx="10"/>
  95. <text class="terminal" x="684" y="261">(</text>
  96. <rect x="246" y="309" width="64" height="32" rx="10"/>
  97. <rect x="244"
  98. y="307"
  99. width="64"
  100. height="32"
  101. class="terminal"
  102. rx="10"/>
  103. <text class="terminal" x="254" y="327">TOPIC</text>
  104. <rect x="330" y="309" width="52" height="32"/>
  105. <rect x="328" y="307" width="52" height="32" class="nonterminal"/>
  106. <text class="nonterminal" x="338" y="327">topic</text>
  107. <rect x="422" y="341" width="24" height="32" rx="10"/>
  108. <rect x="420"
  109. y="339"
  110. width="24"
  111. height="32"
  112. class="terminal"
  113. rx="10"/>
  114. <text class="terminal" x="430" y="359">,</text>
  115. <rect x="466" y="341" width="140" height="32"/>
  116. <rect x="464" y="339" width="140" height="32" class="nonterminal"/>
  117. <text class="nonterminal" x="474" y="359">connection_option</text>
  118. <rect x="646" y="309" width="26" height="32" rx="10"/>
  119. <rect x="644"
  120. y="307"
  121. width="26"
  122. height="32"
  123. class="terminal"
  124. rx="10"/>
  125. <text class="terminal" x="654" y="327">)</text>
  126. <rect x="204" y="407" width="114" height="32" rx="10"/>
  127. <rect x="202"
  128. y="405"
  129. width="114"
  130. height="32"
  131. class="terminal"
  132. rx="10"/>
  133. <text class="terminal" x="212" y="425">KEY FORMAT</text>
  134. <rect x="338" y="407" width="102" height="32"/>
  135. <rect x="336" y="405" width="102" height="32" class="nonterminal"/>
  136. <text class="nonterminal" x="346" y="425">format_spec</text>
  137. <rect x="460" y="407" width="132" height="32" rx="10"/>
  138. <rect x="458"
  139. y="405"
  140. width="132"
  141. height="32"
  142. class="terminal"
  143. rx="10"/>
  144. <text class="terminal" x="468" y="425">VALUE FORMAT</text>
  145. <rect x="204" y="451" width="80" height="32" rx="10"/>
  146. <rect x="202"
  147. y="449"
  148. width="80"
  149. height="32"
  150. class="terminal"
  151. rx="10"/>
  152. <text class="terminal" x="212" y="469">FORMAT</text>
  153. <rect x="632" y="407" width="102" height="32"/>
  154. <rect x="630" y="405" width="102" height="32" class="nonterminal"/>
  155. <text class="nonterminal" x="640" y="425">format_spec</text>
  156. <rect x="166" y="561" width="82" height="32" rx="10"/>
  157. <rect x="164"
  158. y="559"
  159. width="82"
  160. height="32"
  161. class="terminal"
  162. rx="10"/>
  163. <text class="terminal" x="174" y="579">INCLUDE</text>
  164. <rect x="328" y="561" width="48" height="32" rx="10"/>
  165. <rect x="326"
  166. y="559"
  167. width="48"
  168. height="32"
  169. class="terminal"
  170. rx="10"/>
  171. <text class="terminal" x="336" y="579">KEY</text>
  172. <rect x="328" y="605" width="96" height="32" rx="10"/>
  173. <rect x="326"
  174. y="603"
  175. width="96"
  176. height="32"
  177. class="terminal"
  178. rx="10"/>
  179. <text class="terminal" x="336" y="623">PARTITION</text>
  180. <rect x="328" y="649" width="74" height="32" rx="10"/>
  181. <rect x="326"
  182. y="647"
  183. width="74"
  184. height="32"
  185. class="terminal"
  186. rx="10"/>
  187. <text class="terminal" x="336" y="667">OFFSET</text>
  188. <rect x="328" y="693" width="106" height="32" rx="10"/>
  189. <rect x="326"
  190. y="691"
  191. width="106"
  192. height="32"
  193. class="terminal"
  194. rx="10"/>
  195. <text class="terminal" x="336" y="711">TIMESTAMP</text>
  196. <rect x="328" y="737" width="86" height="32" rx="10"/>
  197. <rect x="326"
  198. y="735"
  199. width="86"
  200. height="32"
  201. class="terminal"
  202. rx="10"/>
  203. <text class="terminal" x="336" y="755">HEADERS</text>
  204. <rect x="494" y="593" width="40" height="32" rx="10"/>
  205. <rect x="492"
  206. y="591"
  207. width="40"
  208. height="32"
  209. class="terminal"
  210. rx="10"/>
  211. <text class="terminal" x="502" y="611">AS</text>
  212. <rect x="554" y="593" width="56" height="32"/>
  213. <rect x="552" y="591" width="56" height="32" class="nonterminal"/>
  214. <text class="nonterminal" x="562" y="611">name</text>
  215. <rect x="308" y="781" width="78" height="32" rx="10"/>
  216. <rect x="306"
  217. y="779"
  218. width="78"
  219. height="32"
  220. class="terminal"
  221. rx="10"/>
  222. <text class="terminal" x="316" y="799">HEADER</text>
  223. <rect x="406" y="781" width="44" height="32"/>
  224. <rect x="404" y="779" width="44" height="32" class="nonterminal"/>
  225. <text class="nonterminal" x="414" y="799">key</text>
  226. <rect x="470" y="781" width="40" height="32" rx="10"/>
  227. <rect x="468"
  228. y="779"
  229. width="40"
  230. height="32"
  231. class="terminal"
  232. rx="10"/>
  233. <text class="terminal" x="478" y="799">AS</text>
  234. <rect x="530" y="781" width="56" height="32"/>
  235. <rect x="528" y="779" width="56" height="32" class="nonterminal"/>
  236. <text class="nonterminal" x="538" y="799">name</text>
  237. <rect x="626" y="813" width="66" height="32" rx="10"/>
  238. <rect x="624"
  239. y="811"
  240. width="66"
  241. height="32"
  242. class="terminal"
  243. rx="10"/>
  244. <text class="terminal" x="634" y="831">BYTES</text>
  245. <rect x="288" y="517" width="24" height="32" rx="10"/>
  246. <rect x="286"
  247. y="515"
  248. width="24"
  249. height="32"
  250. class="terminal"
  251. rx="10"/>
  252. <text class="terminal" x="296" y="535">,</text>
  253. <rect x="45" y="911" width="94" height="32" rx="10"/>
  254. <rect x="43"
  255. y="909"
  256. width="94"
  257. height="32"
  258. class="terminal"
  259. rx="10"/>
  260. <text class="terminal" x="53" y="929">ENVELOPE</text>
  261. <rect x="179" y="911" width="60" height="32" rx="10"/>
  262. <rect x="177"
  263. y="909"
  264. width="60"
  265. height="32"
  266. class="terminal"
  267. rx="10"/>
  268. <text class="terminal" x="187" y="929">NONE</text>
  269. <rect x="179" y="955" width="92" height="32" rx="10"/>
  270. <rect x="177"
  271. y="953"
  272. width="92"
  273. height="32"
  274. class="terminal"
  275. rx="10"/>
  276. <text class="terminal" x="187" y="973">DEBEZIUM</text>
  277. <rect x="179" y="999" width="76" height="32" rx="10"/>
  278. <rect x="177"
  279. y="997"
  280. width="76"
  281. height="32"
  282. class="terminal"
  283. rx="10"/>
  284. <text class="terminal" x="187" y="1017">UPSERT</text>
  285. <rect x="295" y="1031" width="26" height="32" rx="10"/>
  286. <rect x="293"
  287. y="1029"
  288. width="26"
  289. height="32"
  290. class="terminal"
  291. rx="10"/>
  292. <text class="terminal" x="303" y="1049">(</text>
  293. <rect x="341" y="1031" width="270" height="32" rx="10"/>
  294. <rect x="339"
  295. y="1029"
  296. width="270"
  297. height="32"
  298. class="terminal"
  299. rx="10"/>
  300. <text class="terminal" x="349" y="1049">VALUE DECODING ERRORS = INLINE</text>
  301. <rect x="651" y="1063" width="40" height="32" rx="10"/>
  302. <rect x="649"
  303. y="1061"
  304. width="40"
  305. height="32"
  306. class="terminal"
  307. rx="10"/>
  308. <text class="terminal" x="659" y="1081">AS</text>
  309. <rect x="711" y="1063" width="56" height="32"/>
  310. <rect x="709" y="1061" width="56" height="32" class="nonterminal"/>
  311. <text class="nonterminal" x="719" y="1081">name</text>
  312. <rect x="807" y="1031" width="26" height="32" rx="10"/>
  313. <rect x="805"
  314. y="1029"
  315. width="26"
  316. height="32"
  317. class="terminal"
  318. rx="10"/>
  319. <text class="terminal" x="815" y="1049">)</text>
  320. <rect x="225" y="1145" width="76" height="32" rx="10"/>
  321. <rect x="223"
  322. y="1143"
  323. width="76"
  324. height="32"
  325. class="terminal"
  326. rx="10"/>
  327. <text class="terminal" x="233" y="1163">EXPOSE</text>
  328. <rect x="321" y="1145" width="96" height="32" rx="10"/>
  329. <rect x="319"
  330. y="1143"
  331. width="96"
  332. height="32"
  333. class="terminal"
  334. rx="10"/>
  335. <text class="terminal" x="329" y="1163">PROGRESS</text>
  336. <rect x="437" y="1145" width="40" height="32" rx="10"/>
  337. <rect x="435"
  338. y="1143"
  339. width="40"
  340. height="32"
  341. class="terminal"
  342. rx="10"/>
  343. <text class="terminal" x="445" y="1163">AS</text>
  344. <rect x="497" y="1145" width="196" height="32"/>
  345. <rect x="495"
  346. y="1143"
  347. width="196"
  348. height="32"
  349. class="nonterminal"/>
  350. <text class="nonterminal" x="505" y="1163">progress_subsource_name</text>
  351. <rect x="765" y="1231" width="102" height="32"/>
  352. <rect x="763"
  353. y="1229"
  354. width="102"
  355. height="32"
  356. class="nonterminal"/>
  357. <text class="nonterminal" x="773" y="1249">with_options</text>
  358. <path class="line"
  359. d="m17 17 h2 m0 0 h10 m140 0 h10 m20 0 h10 m0 0 h130 m-160 0 h20 m140 0 h20 m-180 0 q10 0 10 10 m160 0 q0 -10 10 -10 m-170 10 v12 m160 0 v-12 m-160 12 q0 10 10 10 m140 0 q10 0 10 -10 m-150 10 h10 m120 0 h10 m20 -32 h10 m82 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-311 142 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m26 0 h10 m20 0 h10 m82 0 h10 m-122 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m102 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-102 0 h10 m24 0 h10 m0 0 h58 m20 44 h10 m26 0 h10 m-254 0 h20 m234 0 h20 m-274 0 q10 0 10 10 m254 0 q0 -10 10 -10 m-264 10 v14 m254 0 v-14 m-254 14 q0 10 10 10 m234 0 q10 0 10 -10 m-244 10 h10 m0 0 h224 m40 -34 h10 m0 0 h242 m-272 0 h20 m252 0 h20 m-292 0 q10 0 10 10 m272 0 q0 -10 10 -10 m-282 10 v12 m272 0 v-12 m-272 12 q0 10 10 10 m252 0 q10 0 10 -10 m-262 10 h10 m104 0 h10 m0 0 h10 m108 0 h10 m22 -32 l2 0 m2 0 l2 0 m2 0 l2 0 m-560 98 l2 0 m2 0 l2 0 m2 0 l2 0 m2 0 h10 m60 0 h10 m0 0 h10 m68 0 h10 m0 0 h10 m116 0 h10 m0 0 h10 m136 0 h10 m0 0 h10 m26 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-500 66 l2 0 m2 0 l2 0 m2 0 l2 0 m2 0 h10 m64 0 h10 m0 0 h10 m52 0 h10 m20 0 h10 m0 0 h194 m-224 0 h20 m204 0 h20 m-244 0 q10 0 10 10 m224 0 q0 -10 10 -10 m-234 10 v12 m224 0 v-12 m-224 12 q0 10 10 10 m204 0 q10 0 10 -10 m-214 10 h10 m24 0 h10 m0 0 h10 m140 0 h10 m20 -32 h10 m26 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-532 98 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m114 0 h10 m0 0 h10 m102 0 h10 m0 0 h10 m132 0 h10 m-428 0 h20 m408 0 h20 m-448 0 q10 0 10 10 m428 0 q0 -10 10 -10 m-438 10 v24 m428 0 v-24 m-428 24 q0 10 10 10 m408 0 q10 0 10 -10 m-418 10 h10 m80 0 h10 m0 0 h308 m20 -44 h10 m102 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-632 154 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m82 0 h10 m60 0 h10 m48 0 h10 m0 0 h58 m-146 0 h20 m126 0 h20 m-166 0 q10 0 10 10 m146 0 q0 -10 10 -10 m-156 10 v24 m146 0 v-24 m-146 24 q0 10 10 10 m126 0 q10 0 10 -10 m-136 10 h10 m96 0 h10 m0 0 h10 m-136 -10 v20 m146 0 v-20 m-146 20 v24 m146 0 v-24 m-146 24 q0 10 10 10 m126 0 q10 0 10 -10 m-136 10 h10 m74 0 h10 m0 0 h32 m-136 -10 v20 m146 0 v-20 m-146 20 v24 m146 0 v-24 m-146 24 q0 10 10 10 m126 0 q10 0 10 -10 m-136 10 h10 m106 0 h10 m-136 -10 v20 m146 0 v-20 m-146 20 v24 m146 0 v-24 m-146 24 q0 10 10 10 m126 0 q10 0 10 -10 m-136 10 h10 m86 0 h10 m0 0 h20 m40 -176 h10 m0 0 h126 m-156 0 h20 m136 0 h20 m-176 0 q10 0 10 10 m156 0 q0 -10 10 -10 m-166 10 v12 m156 0 v-12 m-156 12 q0 10 10 10 m136 0 q10 0 10 -10 m-146 10 h10 m40 0 h10 m0 0 h10 m56 0 h10 m20 -32 h82 m-444 0 h20 m424 0 h20 m-464 0 q10 0 10 10 m444 0 q0 -10 10 -10 m-454 10 v200 m444 0 v-200 m-444 200 q0 10 10 10 m424 0 q10 0 10 -10 m-434 10 h10 m78 0 h10 m0 0 h10 m44 0 h10 m0 0 h10 m40 0 h10 m0 0 h10 m56 0 h10 m20 0 h10 m0 0 h76 m-106 0 h20 m86 0 h20 m-126 0 q10 0 10 10 m106 0 q0 -10 10 -10 m-116 10 v12 m106 0 v-12 m-106 12 q0 10 10 10 m86 0 q10 0 10 -10 m-96 10 h10 m66 0 h10 m-444 -252 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m464 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-464 0 h10 m24 0 h10 m0 0 h420 m-606 44 h20 m606 0 h20 m-646 0 q10 0 10 10 m626 0 q0 -10 10 -10 m-636 10 v266 m626 0 v-266 m-626 266 q0 10 10 10 m606 0 q10 0 10 -10 m-616 10 h10 m0 0 h596 m22 -286 l2 0 m2 0 l2 0 m2 0 l2 0 m-791 318 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m0 0 h838 m-868 0 h20 m848 0 h20 m-888 0 q10 0 10 10 m868 0 q0 -10 10 -10 m-878 10 v12 m868 0 v-12 m-868 12 q0 10 10 10 m848 0 q10 0 10 -10 m-858 10 h10 m94 0 h10 m20 0 h10 m60 0 h10 m0 0 h614 m-714 0 h20 m694 0 h20 m-734 0 q10 0 10 10 m714 0 q0 -10 10 -10 m-724 10 v24 m714 0 v-24 m-714 24 q0 10 10 10 m694 0 q10 0 10 -10 m-704 10 h10 m92 0 h10 m0 0 h582 m-704 -10 v20 m714 0 v-20 m-714 20 v24 m714 0 v-24 m-714 24 q0 10 10 10 m694 0 q10 0 10 -10 m-704 10 h10 m76 0 h10 m20 0 h10 m0 0 h548 m-578 0 h20 m558 0 h20 m-598 0 q10 0 10 10 m578 0 q0 -10 10 -10 m-588 10 v12 m578 0 v-12 m-578 12 q0 10 10 10 m558 0 q10 0 10 -10 m-568 10 h10 m26 0 h10 m0 0 h10 m270 0 h10 m20 0 h10 m0 0 h126 m-156 0 h20 m136 0 h20 m-176 0 q10 0 10 10 m156 0 q0 -10 10 -10 m-166 10 v12 m156 0 v-12 m-156 12 q0 10 10 10 m136 0 q10 0 10 -10 m-146 10 h10 m40 0 h10 m0 0 h10 m56 0 h10 m20 -32 h10 m26 0 h10 m62 -152 l2 0 m2 0 l2 0 m2 0 l2 0 m-732 234 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m0 0 h478 m-508 0 h20 m488 0 h20 m-528 0 q10 0 10 10 m508 0 q0 -10 10 -10 m-518 10 v12 m508 0 v-12 m-508 12 q0 10 10 10 m488 0 q10 0 10 -10 m-498 10 h10 m76 0 h10 m0 0 h10 m96 0 h10 m0 0 h10 m40 0 h10 m0 0 h10 m196 0 h10 m22 -32 l2 0 m2 0 l2 0 m2 0 l2 0 m-12 86 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m0 0 h112 m-142 0 h20 m122 0 h20 m-162 0 q10 0 10 10 m142 0 q0 -10 10 -10 m-152 10 v12 m142 0 v-12 m-142 12 q0 10 10 10 m122 0 q10 0 10 -10 m-132 10 h10 m102 0 h10 m23 -32 h-3"/>
  360. <polygon points="905 1213 913 1209 913 1217"/>
  361. <polygon points="905 1213 897 1209 897 1217"/>
  362. </svg>