Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
histhub
linker
Commits
b3fb8f02
Commit
b3fb8f02
authored
Jun 14, 2018
by
Tobias Steiner
Browse files
limit the amount of data from kafka to 1
parent
dd88de65
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/index.ts
View file @
b3fb8f02
...
...
@@ -35,7 +35,7 @@ kafka.init().then(() => {
const
next
=
()
=>
{
index
=
setInterval
(()
=>
{
// start consuming
consumer
.
consume
(
1
00
);
consumer
.
consume
(
1
);
},
1
);
};
next
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment