Configuration.
You need to use the same config for producer and consumer.
Create example config:
$config = \Simple\Queue\Config::getDefault()
->changeRedeliveryTimeInSeconds(100)
->changeNumberOfAttemptsBeforeFailure(3)
->withSerializer(new \Simple\Queue\Serializer\BaseSerializer())
->registerJob(MyJob::class, new MyJob())
->registerProcessor('my_queue', static function(\Simple\Queue\Message $message, \Simple\Queue\Producer $producer): string {
// Your message handling logic
return \Simple\Queue\Consumer::STATUS_ACK;
});