Skip to content
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

Support interface to work with queues #242

Open
zonder129 opened this issue Nov 19, 2019 · 1 comment
Open

Support interface to work with queues #242

zonder129 opened this issue Nov 19, 2019 · 1 comment

Comments

@zonder129
Copy link

zonder129 commented Nov 19, 2019

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.

@Totktonada
Copy link
Member

Example of such API: https://github.com/tarantool-php/queue/

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

No branches or pull requests

3 participants