Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
kafka-Studies
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
최석원
kafka-Studies
Commits
c2b6d855
Unverified
Commit
c2b6d855
authored
4 years ago
by
defaultSouth
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
b39dc791
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/README.md
+19
-1
19 additions, 1 deletion
python/README.md
with
19 additions
and
1 deletion
python/README.md
+
19
−
1
View file @
c2b6d855
...
...
@@ -34,7 +34,25 @@ WIN10@DESKTOP:~$ pip install confluent-kafka
```
## Slack Consumer Usage
## Slack API Producer Usage
[
Get Slack API
](
https://api.slack.com/
)
Invite your bot to user community channel and your developer channel.
This producer sends a data if users post comments containing a word, "bug".
```
json
example
data)
{
"USER"
:
"ikr"
,
"TEXT"
:
"I found a bug! I can keep copying my items to my inventory."
}
```
Then the consumer below, will consume the data and posts a message in your developer channel.
"USERNAME: MESSAGE: Please see if we can fix it right here, right now"
## Slack API Consumer Usage
Modified version of
[
official Confluent example
](
https://github.com/confluentinc/infoq-kafka-ksql
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment