Skip to content

Commit 102cc03

Browse files
committed
Merge remote-tracking branch 'origin/0.8'
2 parents d3a087d + e864419 commit 102cc03

File tree

4 files changed

+33
-1
lines changed

4 files changed

+33
-1
lines changed

Diff for: CHANGELOG.md

+16
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Change Log
22

3+
## [0.8.38](https://github.com/php-enqueue/enqueue-dev/tree/0.8.38) (2018-10-16)
4+
[Full Changelog](https://github.com/php-enqueue/enqueue-dev/compare/0.8.37...0.8.38)
5+
6+
- Support rabbitmq-cli-consumer [\#546](https://github.com/php-enqueue/enqueue-dev/issues/546)
7+
- Add ability to choose transport\context to be used in consume command [\#312](https://github.com/php-enqueue/enqueue-dev/issues/312)
8+
9+
- \[Symfony\] sendCommand / sendEvent for delayed message have different behaviour [\#523](https://github.com/php-enqueue/enqueue-dev/issues/523)
10+
- \[bundle\] The bundle does not work correctly with env parameters set as tag attr. [\#28](https://github.com/php-enqueue/enqueue-dev/issues/28)
11+
12+
- Stomp heartbeat [\#549](https://github.com/php-enqueue/enqueue-dev/issues/549)
13+
- \[Elastica\]Slow processing [\#537](https://github.com/php-enqueue/enqueue-dev/issues/537)
14+
- \[consumption\] Some improvements [\#323](https://github.com/php-enqueue/enqueue-dev/issues/323)
15+
16+
- Fixing kafka default configuration [\#562](https://github.com/php-enqueue/enqueue-dev/pull/562) ([adumas37](https://github.com/adumas37))
17+
- enableSubscriptionConsumer setter [\#541](https://github.com/php-enqueue/enqueue-dev/pull/541) ([ArnaudTarroux](https://github.com/ArnaudTarroux))
18+
319
## [0.8.37](https://github.com/php-enqueue/enqueue-dev/tree/0.8.37) (2018-09-13)
420
[Full Changelog](https://github.com/php-enqueue/enqueue-dev/compare/0.8.36...0.8.37)
521

Diff for: pkg/enqueue/Consumption/QueueConsumer.php

+2
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,8 @@ public function consume(ExtensionInterface $runtimeExtension = null): void
274274

275275
++$cycle;
276276
}
277+
278+
$this->enableSubscriptionConsumer = $enableSubscriptionConsumer;
277279
}
278280

279281
/**

Diff for: pkg/rdkafka/RdKafkaConnectionFactory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function __construct($config = 'kafka:')
4747
throw new \LogicException('The config must be either an array of options, a DSN string or null');
4848
}
4949

50-
$this->config = array_replace($this->defaultConfig(), $config);
50+
$this->config = array_replace_recursive($this->defaultConfig(), $config);
5151
}
5252

5353
/**

Diff for: pkg/rdkafka/Tests/RdKafkaConnectionFactoryTest.php

+14
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,19 @@ public static function provideConfigs()
107107
],
108108
],
109109
];
110+
111+
yield [
112+
[
113+
'global' => [
114+
'group.id' => 'group-id',
115+
],
116+
],
117+
[
118+
'global' => [
119+
'metadata.broker.list' => 'localhost:9092',
120+
'group.id' => 'group-id',
121+
],
122+
],
123+
];
110124
}
111125
}

0 commit comments

Comments
 (0)