Skip to content

Support interface to work with queues #242

Description

@zonder129

Right now it's possible to communicate with queue as client in following way:

TarantoolClientConfig config = new TarantoolClientConfig();
config.username = "test";
config.password = "pass";
        
TarantoolClientImpl connection = new TarantoolClientImpl("host:port", config);
Future<?> task = connection.call("queue.tube.tubename:take");
Object taskId = task.get();
connection.call("queue.tube.tubename:ack", taskId);

But this is not really obvious and it defenetly would be better to create an interface that could manage those operations.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions