Skip to content

Commit 8f9c997

Browse files
authored
Added constant Hyperf\Kafka\Constants\KafkaStrategy::STICKY_ASSIGNOR. (#7499)
1 parent 17e7c85 commit 8f9c997

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Constants/KafkaStrategy.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,13 @@
1414

1515
use longlang\phpkafka\Consumer\Assignor\RangeAssignor;
1616
use longlang\phpkafka\Consumer\Assignor\RoundRobinAssignor;
17+
use longlang\phpkafka\Consumer\Assignor\StickyAssignor;
1718

1819
class KafkaStrategy
1920
{
2021
public const RANGE_ASSIGNOR = RangeAssignor::class;
2122

2223
public const ROUND_ROBIN_ASSIGNOR = RoundRobinAssignor::class;
24+
25+
public const STICKY_ASSIGNOR = StickyAssignor::class;
2326
}

0 commit comments

Comments
 (0)