Skip to content

Commit

Permalink
deploy: 1b2b677
Browse files Browse the repository at this point in the history
  • Loading branch information
sauljabin committed Jul 12, 2024
1 parent 3b3fdb3 commit 1b0bc07
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions kafka-connect-database-example.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,11 @@ <h3 id="populate-database"><a class="header" href="#populate-database">Populate
<pre><code class="language-bash">docker compose --profile sql up -d
</code></pre>
<p>Populate it:</p>
<pre><code class="language-bash">mysql --host=mysql --database=sandbox &lt; kafka-connect/sql/customers.sql
<pre><code class="language-bash">mysql --host=mysql --user=root --database=sandbox &lt; kafka-connect/sql/customers.sql
</code></pre>
<p>That command should have created the table <code>customers</code> and inserted 200 records.</p>
<p>Now you can open <a href="http://localhost:9090">Adminer</a> or run:</p>
<pre><code class="language-bash">mysql --host=mysql --database=sandbox -e "select * from customers"
<pre><code class="language-bash">mysql --host=mysql --user=root --database=sandbox -e "select * from customers"
</code></pre>
<h3 id="create-source-connector"><a class="header" href="#create-source-connector">Create Source Connector</a></h3>
<p>Check the installed plugins:</p>
Expand Down
2 changes: 1 addition & 1 deletion kafka-rest-proxy.html
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ <h3 id="create-topic"><a class="header" href="#create-topic">Create Topic</a></h
<pre><code class="language-bash">http kafka-rest:8082/v3/clusters/${CLUSTER_ID}/topics &lt; kafka-rest/requests/create-topic.json
</code></pre>
<p>List topics:</p>
<pre><code class="language-bash">http kafka-rest:8082/v3/clusters/${CLUSTER_ID}/topics
<pre><code class="language-bash">http kafka-rest:8082/v3/clusters/${CLUSTER_ID}/topics | jq -r '.data[].topic_name'
</code></pre>
<h3 id="produce"><a class="header" href="#produce">Produce</a></h3>
<p>Payload:</p>
Expand Down
6 changes: 3 additions & 3 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -949,11 +949,11 @@ <h3 id="populate-database"><a class="header" href="#populate-database">Populate
<pre><code class="language-bash">docker compose --profile sql up -d
</code></pre>
<p>Populate it:</p>
<pre><code class="language-bash">mysql --host=mysql --database=sandbox &lt; kafka-connect/sql/customers.sql
<pre><code class="language-bash">mysql --host=mysql --user=root --database=sandbox &lt; kafka-connect/sql/customers.sql
</code></pre>
<p>That command should have created the table <code>customers</code> and inserted 200 records.</p>
<p>Now you can open <a href="http://localhost:9090">Adminer</a> or run:</p>
<pre><code class="language-bash">mysql --host=mysql --database=sandbox -e "select * from customers"
<pre><code class="language-bash">mysql --host=mysql --user=root --database=sandbox -e "select * from customers"
</code></pre>
<h3 id="create-source-connector"><a class="header" href="#create-source-connector">Create Source Connector</a></h3>
<p>Check the installed plugins:</p>
Expand Down Expand Up @@ -1413,7 +1413,7 @@ <h3 id="create-topic"><a class="header" href="#create-topic">Create Topic</a></h
<pre><code class="language-bash">http kafka-rest:8082/v3/clusters/${CLUSTER_ID}/topics &lt; kafka-rest/requests/create-topic.json
</code></pre>
<p>List topics:</p>
<pre><code class="language-bash">http kafka-rest:8082/v3/clusters/${CLUSTER_ID}/topics
<pre><code class="language-bash">http kafka-rest:8082/v3/clusters/${CLUSTER_ID}/topics | jq -r '.data[].topic_name'
</code></pre>
<h3 id="produce-1"><a class="header" href="#produce-1">Produce</a></h3>
<p>Payload:</p>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

0 comments on commit 1b0bc07

Please sign in to comment.