Skip to content

Commit

Permalink
Adding doc for kafka (#1505)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Poignant <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
thomaspoignant and kodiakhq[bot] authored Feb 2, 2024
1 parent b29fe7f commit a741f0b
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 6 deletions.
10 changes: 10 additions & 0 deletions website/docs/configure_flag/export_flags_usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import loglogo from '@site/static/docs/collectors/log.png';
import s3logo from '@site/static/docs/collectors/s3.png';
import webhooklogo from '@site/static/docs/collectors/webhook.png';
import sqslogo from '@site/static/docs/collectors/sqs.png';
import kafkalogo from '@site/static/docs/collectors/kafka.png';


# How to export evaluation data
GO Feature Flag allows for the collection of flag usage data.
Expand Down Expand Up @@ -41,6 +43,14 @@ To use, simply configure, use the feature flag as normal, and analyze the collec
goModuleLink={'../go_module/data_collection/sqs'}
/>
},
{
logoImg: kafkalogo,
title:"Kafka",
content: <ConfigCardContent
relayproxyLink={'../relay_proxy/configure_relay_proxy#kafka'}
goModuleLink={'../go_module/data_collection/kafka'}
/>
},
{
logoImg: googlelogo,
title:"Google Storage",
Expand Down
8 changes: 4 additions & 4 deletions website/docs/go_module/data_collection/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ ffclient.Config{
DataExporter: ffclient.DataExporter{
// ...
Exporter: &kafkaexporter.Exporter{
Settings: kafkaexporter.Settings{
Topic: "go-feature-flag-events",
Addresses: []string{"cluster1", "cluster2"},
},
Settings: kafkaexporter.Settings{
Topic: "go-feature-flag-events",
Addresses: []string{"cluster1", "cluster2"},
},
},
},
// ...
Expand Down
7 changes: 6 additions & 1 deletion website/src/components/home/features/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,14 +265,19 @@ function Integration() {
/>
<SocialIcon
colorClassName={styles.socialIconGitlab}
fontAwesomeIcon="devicon-gitlab-plain"
fontAwesomeIcon="devicon-gitlab-plain colored"
tooltipText="Gitlab"
/>
<SocialIcon
colorClassName={styles.socialIconAws}
img={sqslogo}
tooltipText="AWS SQS"
/>
<SocialIcon
colorClassName={styles.socialIconKafka}
fontAwesomeIcon="devicon-apachekafka-original colored"
tooltipText="Apache Kafka"
/>
</div>
</div>
</div>
Expand Down
6 changes: 5 additions & 1 deletion website/src/components/home/features/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,17 @@
}

.socialIconGitlab {
background-color: #e2432a;
background-color: #D1D0D3;
}

.socialIconMongodb {
background-color: #023430;
}

.socialIconKafka {
background-color: #eee;
}

.tooltip {
position: relative;
display: inline-block;
Expand Down
Binary file added website/static/docs/collectors/kafka.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a741f0b

Please sign in to comment.