Skip to content

Commit

Permalink
Update MIGRATION.md (#44)
Browse files Browse the repository at this point in the history
* Update MIGRATION.md

* remove phpdbg
  • Loading branch information
nick-zh authored Dec 17, 2020
1 parent 21d7055 commit bffe801
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ messaging systems than Kafka.

In most cases you can just:
1. `composer remove jobcloud/messaging-lib`
2. `composer require jobcloud/php-kafka-lib ~0.1`
2. `composer require jobcloud/php-kafka-lib ~0.1` (after migration, consider switching to the most current release)
3. Replace namespace `Jobcloud\Messaging\Kafka` with `Jobcloud\Kafka`
4. Replace the following:
- `ConsumerException` with `KafkaConsumerConsumeException`
- `MessageInterface` with `KafkaMessageInterface` or depending on your use case with `KafkaConsumerMessageInterface` and `KafkaProducerMessageInterface`
- `ProducerInterface` with `KafkaProducerInterface`
- `ConsumerInterface` with `KafkaConsumerInterface`
- `ProducerPool` is not supported anymore
- `ProducerPool` is not supported anymore

0 comments on commit bffe801

Please sign in to comment.