Skip to content

Commit

Permalink
Site updated: 2024-01-10 21:02:29
Browse files Browse the repository at this point in the history
  • Loading branch information
xxzuo committed Jan 10, 2024
1 parent eb53fb0 commit d54772d
Show file tree
Hide file tree
Showing 50 changed files with 2,973 additions and 481 deletions.
986 changes: 986 additions & 0 deletions 2024/01/10/flink-cdc/Doris-Flink-Connector/index.html

Large diffs are not rendered by default.

16 changes: 15 additions & 1 deletion 2024/01/10/flink-cdc/MySQL-CDC-Connector(v2.4)/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,8 @@ <h3 id="设置-MySQL-会话超时时间"><a href="#设置-MySQL-会话超时时
<li><code>wait_timeout</code>: 服务器在关闭非交互连接之前等待活动的秒数。 更多信息请参考 <a target="_blank" rel="noopener" href="https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_wait_timeout">MySQL documentations</a>.</li>
</ul>
<h2 id="如何创建-MySQL-CDC-表"><a href="#如何创建-MySQL-CDC-表" class="headerlink" title="如何创建 MySQL CDC 表"></a>如何创建 MySQL CDC 表</h2><p>MySQL CDC 表可以定义如下:<br><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br></pre></td><td class="code"><pre><code class="hljs shell">-- 每 3 秒做一次 checkpoint,用于测试,生产配置建议5到10分钟 <br>Flink SQL&gt; SET &#x27;execution.checkpointing.interval&#x27; = &#x27;3s&#x27;; <br><br>-- 在 Flink SQL中注册 MySQL 表 &#x27;orders&#x27;<br>Flink SQL&gt; CREATE TABLE orders (<br> order_id INT,<br> order_date TIMESTAMP(0),<br> customer_name STRING,<br> price DECIMAL(10, 5),<br> product_id INT,<br> order_status BOOLEAN,<br> PRIMARY KEY(order_id) NOT ENFORCED<br> ) WITH (<br> &#x27;connector&#x27; = &#x27;mysql-cdc&#x27;,<br> &#x27;hostname&#x27; = &#x27;localhost&#x27;,<br> &#x27;port&#x27; = &#x27;3306&#x27;,<br> &#x27;username&#x27; = &#x27;root&#x27;,<br> &#x27;password&#x27; = &#x27;123456&#x27;,<br> &#x27;database-name&#x27; = &#x27;mydb&#x27;,<br> &#x27;table-name&#x27; = &#x27;orders&#x27;);<br> <br>-- 从订单表读取全量数据(快照)和增量数据(binlog)<br>Flink SQL&gt; SELECT * FROM orders;<br></code></pre></td></tr></table></figure></p>
<h2 id="连接器选项"><a href="#连接器选项" class="headerlink" title="连接器选项"></a>连接器选项</h2><div class="table-container">
<h2 id="连接器选项"><a href="#连接器选项" class="headerlink" title="连接器选项"></a>连接器选项</h2><p>^2fd7d6</p>
<div class="table-container">
<table>
<thead>
<tr>
Expand Down Expand Up @@ -809,6 +810,13 @@ <h2 id="常见问题"><a href="#常见问题" class="headerlink" title="常见
<div>
<div class="post-metas mb-3">

<div class="post-meta mr-3">
<i class="iconfont icon-category"></i>

<a class="hover-with-bg" href="/categories/flink-cdc/">flink-cdc</a>

</div>


<div class="post-meta">
<i class="iconfont icon-tags"></i>
Expand All @@ -830,6 +838,12 @@ <h2 id="常见问题"><a href="#常见问题" class="headerlink" title="常见
<article class="post-prev col-6">


<a href="/2024/01/10/flink-cdc/Doris-Flink-Connector/">
<i class="iconfont icon-arrowleft"></i>
<span class="hidden-mobile">Doris-Flink-Connector</span>
<span class="visible-mobile">上一篇</span>
</a>

</article>
<article class="post-next col-6">

Expand Down
2 changes: 1 addition & 1 deletion archives/2021/04/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2021/05/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2021/06/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2021/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2021/page/2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2022/05/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2022/06/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2022/06/page/2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2022/07/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2022/08/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2022/11/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2022/12/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2022/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2022/page/2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2022/page/3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2022/page/4/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2023/05/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2023/07/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2023/08/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2023/10/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2023/11/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2023/12/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2023/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
2 changes: 1 addition & 1 deletion archives/2023/page/2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>


Expand Down
8 changes: 7 additions & 1 deletion archives/2024/01/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,20 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>




<p class="h5">2024</p>

<a href="/2024/01/10/flink-cdc/Doris-Flink-Connector/" class="list-group-item list-group-item-action">
<span class="archive-post-title">Doris-Flink-Connector</span>
<time style="float: right;">01-10</time>
</a>


<a href="/2024/01/10/flink-cdc/MySQL-CDC-Connector(v2.4)/" class="list-group-item list-group-item-action">
<span class="archive-post-title">MySQL-CDC-Connector(v2.4)</span>
<time style="float: right;">01-10</time>
Expand Down
8 changes: 7 additions & 1 deletion archives/2024/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,20 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>




<p class="h5">2024</p>

<a href="/2024/01/10/flink-cdc/Doris-Flink-Connector/" class="list-group-item list-group-item-action">
<span class="archive-post-title">Doris-Flink-Connector</span>
<time style="float: right;">01-10</time>
</a>


<a href="/2024/01/10/flink-cdc/MySQL-CDC-Connector(v2.4)/" class="list-group-item list-group-item-action">
<span class="archive-post-title">MySQL-CDC-Connector(v2.4)</span>
<time style="float: right;">01-10</time>
Expand Down
16 changes: 8 additions & 8 deletions archives/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,20 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>




<p class="h5">2024</p>

<a href="/2024/01/10/flink-cdc/Doris-Flink-Connector/" class="list-group-item list-group-item-action">
<span class="archive-post-title">Doris-Flink-Connector</span>
<time style="float: right;">01-10</time>
</a>


<a href="/2024/01/10/flink-cdc/MySQL-CDC-Connector(v2.4)/" class="list-group-item list-group-item-action">
<span class="archive-post-title">MySQL-CDC-Connector(v2.4)</span>
<time style="float: right;">01-10</time>
Expand Down Expand Up @@ -236,18 +242,12 @@
<time style="float: right;">07-14</time>
</a>


<a href="/2023/07/14/%E5%A4%A7%E6%95%B0%E6%8D%AE/%E6%9C%BA%E5%99%A8%E9%83%A8%E7%BD%B2%E7%9B%B8%E5%85%B3/" class="list-group-item list-group-item-action">
<span class="archive-post-title">机器部署相关</span>
<time style="float: right;">07-14</time>
</a>

</div>


<nav aria-label="navigation">
<span class="pagination" id="pagination">
<span class="page-number current">1</span><a class="page-number" href="/archives/page/2/#board">2</a><a class="page-number" href="/archives/page/3/#board">3</a><span class="space">&hellip;</span><a class="page-number" href="/archives/page/7/#board">7</a><a class="extend next" rel="next" href="/archives/page/2/#board"><i class="iconfont icon-arrowright"></i></a>
<span class="page-number current">1</span><a class="page-number" href="/archives/page/2/#board">2</a><a class="page-number" href="/archives/page/3/#board">3</a><span class="space">&hellip;</span><a class="page-number" href="/archives/page/8/#board">8</a><a class="extend next" rel="next" href="/archives/page/2/#board"><i class="iconfont icon-arrowright"></i></a>
</span>
</nav>

Expand Down
16 changes: 8 additions & 8 deletions archives/page/2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,20 @@


<div class="list-group">
<p class="h4">共计 70 篇文章</p>
<p class="h4">共计 71 篇文章</p>
<hr>




<p class="h5">2023</p>

<a href="/2023/07/14/%E5%A4%A7%E6%95%B0%E6%8D%AE/%E6%9C%BA%E5%99%A8%E9%83%A8%E7%BD%B2%E7%9B%B8%E5%85%B3/" class="list-group-item list-group-item-action">
<span class="archive-post-title">机器部署相关</span>
<time style="float: right;">07-14</time>
</a>


<a href="/2023/07/13/java%E5%B7%A5%E5%85%B7%E7%B1%BB/%E9%80%9A%E7%94%A8%E8%BF%94%E5%9B%9E%E7%B1%BB/" class="list-group-item list-group-item-action">
<span class="archive-post-title">通用返回类</span>
<time style="float: right;">07-13</time>
Expand Down Expand Up @@ -233,18 +239,12 @@
<time style="float: right;">05-18</time>
</a>


<a href="/2023/05/15/flume/flume%20User%20Guide(1.11)/" class="list-group-item list-group-item-action">
<span class="archive-post-title">flume-User-Guide(1.11)(翻译中)</span>
<time style="float: right;">05-15</time>
</a>

</div>


<nav aria-label="navigation">
<span class="pagination" id="pagination">
<a class="extend prev" rel="prev" href="/archives/"><i class="iconfont icon-arrowleft"></i></a><a class="page-number" href="/archives/">1</a><span class="page-number current">2</span><a class="page-number" href="/archives/page/3/#board">3</a><a class="page-number" href="/archives/page/4/#board">4</a><span class="space">&hellip;</span><a class="page-number" href="/archives/page/7/#board">7</a><a class="extend next" rel="next" href="/archives/page/3/#board"><i class="iconfont icon-arrowright"></i></a>
<a class="extend prev" rel="prev" href="/archives/"><i class="iconfont icon-arrowleft"></i></a><a class="page-number" href="/archives/">1</a><span class="page-number current">2</span><a class="page-number" href="/archives/page/3/#board">3</a><a class="page-number" href="/archives/page/4/#board">4</a><span class="space">&hellip;</span><a class="page-number" href="/archives/page/8/#board">8</a><a class="extend next" rel="next" href="/archives/page/3/#board"><i class="iconfont icon-arrowright"></i></a>
</span>
</nav>

Expand Down
Loading

0 comments on commit d54772d

Please sign in to comment.