Internally not much has changed, we have mostly gotten rid of,
the general interfaces, since we won't implement support for other
messaging systems than Kafka.
In most cases you can just:
composer remove jobcloud/messaging-lib
composer require jobcloud/php-kafka-lib ~0.1
(after migration, consider switching to the most current release)- Replace namespace
Jobcloud\Messaging\Kafka
withJobcloud\Kafka
- Replace the following:
ConsumerException
withKafkaConsumerConsumeException
MessageInterface
withKafkaMessageInterface
or depending on your use case withKafkaConsumerMessageInterface
andKafkaProducerMessageInterface
ProducerInterface
withKafkaProducerInterface
ConsumerInterface
withKafkaConsumerInterface
ProducerPool
is not supported anymore