Skip to content

Collision between current repo and configuration #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
DnD-Crow opened this issue May 6, 2022 · 0 comments
Open

Collision between current repo and configuration #3

DnD-Crow opened this issue May 6, 2022 · 0 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@DnD-Crow
Copy link

DnD-Crow commented May 6, 2022

Hello,

I'm in a trouble using this plugin on satellite because of some collisions. In the documentation, it's mentioned:

"This plugin is already integrated into the Satellite package, so you can’t require it with the composer."

But I don't find any dependency to this plugin in satellite main repository.
I solve it by require it manually: composer require php-etl/rabbitmq-flow

But I guess there is some delay between the current version and the configuration.
In Kiboko\Component\Flow\RabbitMQ\Rejection
Construct:

    public function __construct(
        private Client $connection,
        private string $stepUuid,
        private string $topic,
        private ?string $exchange = null,
    ) {
        $this->channel = $this->connection->channel();
        $this->channel->queueDeclare(
            queue: $this->topic,
            passive: false,
            durable: true,
            exclusive: false,
            autoDelete: true,
        );
    }

When the configuration is like this:

    rabbitmq:
        host: 127.0.0.1
        port: 5672
        user: 'guest'
        password: 'guest'
        vhost: /
        topic: product.api_rejects

Configuration seems to be based on the old version of the construct: 38ce28e

Could you tell me the good way to define MQ with Satellite ?

Thank you,

Didier

@gplanchat gplanchat self-assigned this May 9, 2022
@gplanchat gplanchat added the bug Something isn't working label May 9, 2022
@gplanchat gplanchat added the documentation Improvements or additions to documentation label May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
Development

No branches or pull requests

2 participants