Questions tagged [armeria]

Armeria is an open-source asynchronous HTTP/2 RPC/REST client/server library built on top of Java 8, Netty, Thrift and gRPC. Its primary goal is to help engineers build high-performance asynchronous microservices that use HTTP/2 as a session layer protocol.

Armeria is an open-source asynchronous HTTP/2 RPC/REST client/server library built on top of Java 8, Netty, Thrift and gRPC. Its primary goal is to help engineers build high-performance asynchronous microservices that use HTTP/2 as a session layer protocol.

If you have a question about using Armeria in your Java application, this is the tag you should use.

Useful Links

33 questions
0
votes
1 answer

How to enable keep_alive setting for armeria grpc server?

As a part of serverBuilder of GRPC there are couple of options where armeria server builder takes. One is channelOption and childChannelOption which takes in ChannelOption.SO_KEEPALIVE and a boolean. Even though I set these parameters i get an…
-1
votes
1 answer

Right way to add a per-request response delay to a custom HttpService

Here's my current implementation of HttpService.serve() @Override public HttpResponse serve(ServiceRequestContext ctx, HttpRequest req) throws Exception { return HttpResponse.from(req.aggregate().thenApply(ahr -> { MyResponse myResponse…
Peter Thomas
  • 54,465
  • 21
  • 84
  • 248
-1
votes
1 answer

How to call multiple service?

When I use Armeria, I have 3 services: Service A calls Service B and Service C. Should I call B and C's blocking stub in A's blockingTaskExecutor or some other better way?
wangdade
  • 3
  • 1
1 2
3