Skip to content
Open
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
4 changes: 2 additions & 2 deletions src/content/_includes/docs/user-guide/integrations/kafka.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import DocLink from '@components/DocLink.astro';
import ImageGallery from '~/components/ImageGallery.astro';
import DocImage from '~/components/DocImage.astro';
import Banner from '~/components/Banner.astro';
import { Steps, Aside } from '@astrojs/starlight/components';
import { Steps, Aside, Code } from '@astrojs/starlight/components';
import { Products } from '~/models/site.models';
import Tabs from '@components/Tabs.astro';
import TabItem from '@components/TabItem.astro';
Expand Down Expand Up @@ -259,7 +259,7 @@ When enabled, ThingsBoard generates an **Integration key** and **Integration sec
<li>
<strong>Create an API key.</strong>
Go to <strong>Data integration → API keys</strong> and click <strong>Create key</strong>. Select <strong>Global access</strong> (development) or <strong>Granular access</strong> (production), complete the wizard, then copy the generated <strong>key</strong> and <strong>secret</strong>. Use them in <code>sasl.jaas.config</code>:
<pre><code>{'org.apache.kafka.common.security.plain.PlainLoginModule required username="YOUR_KEY" password="YOUR_SECRET";'}</code></pre>
<Code code={'org.apache.kafka.common.security.plain.PlainLoginModule required username="YOUR_KEY" password="YOUR_SECRET";'} lang="text" wrap />
</li>
</ol>
</Steps>
Expand Down