Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Administrator
kafka-service
Commits
66de991f
Commit
66de991f
authored
2 years ago
by
Evgenii Burikov
Browse files
Options
Download
Email Patches
Plain Diff
use default group in consumer fix
parent
ef6f7453
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Console/Commands/KafkaQueue.php
+1
-1
src/Console/Commands/KafkaQueue.php
src/KafkaService.php
+1
-0
src/KafkaService.php
with
2 additions
and
1 deletion
+2
-1
src/Console/Commands/KafkaQueue.php
View file @
66de991f
...
...
@@ -12,7 +12,7 @@ class KafkaQueue extends Command
*
* @var string
*/
protected
$signature
=
'kafka:queue {group_name
= null
} {--offset_reset = earliest}'
;
protected
$signature
=
'kafka:queue {group_name
?
} {--offset_reset = earliest}'
;
/**
* The console command description.
...
...
This diff is collapsed.
Click to expand it.
src/KafkaService.php
View file @
66de991f
...
...
@@ -56,6 +56,7 @@ class KafkaService
}
public
function
consume
(
String
$group
=
null
,
String
$offsetReset
=
'earliest'
)
{
// if (!$group) $group=
$consumer
=
Kafka
::
createConsumer
(
$this
->
getTopicsToConsume
(),
$group
)
->
withOptions
(
$this
->
configOptions
)
->
withOptions
([
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
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
Menu
Projects
Groups
Snippets
Help