@@ -18,17 +18,17 @@ public function testThrowNeitherArrayStringNorNullGivenAsConfig()
18
18
public function testThrowIfSchemeIsNotBeanstalkAmqp ()
19
19
{
20
20
$ this ->expectException (\LogicException::class);
21
- $ this ->expectExceptionMessage ('The given DSN scheme "http" is not supported. Could be "rdkafka " only. ' );
21
+ $ this ->expectExceptionMessage ('The given DSN scheme "http" is not supported. Could be "kafka " only. ' );
22
22
23
23
new RdKafkaConnectionFactory ('http://example.com ' );
24
24
}
25
25
26
26
public function testThrowIfDsnCouldNotBeParsed ()
27
27
{
28
28
$ this ->expectException (\LogicException::class);
29
- $ this ->expectExceptionMessage ('Failed to parse DSN "rdkafka ://:@/" ' );
29
+ $ this ->expectExceptionMessage ('Failed to parse DSN "kafka ://:@/" ' );
30
30
31
- new RdKafkaConnectionFactory ('rdkafka ://:@/ ' );
31
+ new RdKafkaConnectionFactory ('kafka ://:@/ ' );
32
32
}
33
33
34
34
public function testShouldBeExpectedDefaultConfig ()
@@ -50,7 +50,7 @@ public function testShouldBeExpectedDefaultConfig()
50
50
51
51
public function testShouldBeExpectedDefaultDsnConfig ()
52
52
{
53
- $ factory = new RdKafkaConnectionFactory ('rdkafka:// ' );
53
+ $ factory = new RdKafkaConnectionFactory ('kafka: ' );
54
54
55
55
$ config = $ this ->getObjectAttribute ($ factory , 'config ' );
56
56
@@ -81,7 +81,7 @@ public function testShouldParseConfigurationAsExpected($config, $expectedConfig)
81
81
public static function provideConfigs ()
82
82
{
83
83
yield [
84
- 'rdkafka ://theHost:1234?global%5Bgroup.id%5D=group-id ' ,
84
+ 'kafka ://theHost:1234?global%5Bgroup.id%5D=group-id ' ,
85
85
[
86
86
'global ' => [
87
87
'metadata.broker.list ' => 'theHost:1234 ' ,
0 commit comments