Implementing Armeria GRPC in Dropwizard?
See original GitHub issueHi there!
We have a project built in Dropwizard, and we are switching from using REST with Jersey to use GRPC instead. Dropwizard uses Jetty, so if I could attach GRPC would be great.
In Dropwizards initialize-method, I wrote like this:
@Override
public void initialize(final Bootstrap<QueryServConfiguration> bootstrap) {
ServerBuilder sb = Server.builder();
sb.service(
GrpcService.builder()
.addService(new HelloService())
.build()
);
sb.serviceUnder("/", new JettyServiceBuilder().build());
}
It builds but I cannot make any requests towards it. Do I have to attach it with a handler, something like this?
Issue Analytics
- State:
- Created 4 years ago
- Comments:19 (5 by maintainers)
Top Results From Across the Web
Using Armeria with Dropwizard
Path Property Description
server maxNumConnections The maximum allowed number of open connections
server.ports port The port to run the server on (default: 8080)
server.ports ip The...
Read more >Armeria vs Jersey | What are the differences? - StackShare
Armeria - Build a reactive microservice at your pace. Jersey - A REST framework that provides a JAX-RS implementation . ... gRPC. Dropwizard....
Read more >Armeria 1.20.3 API reference - javadoc.io
Client-side OAuth 2.0 implementation artifacts. ... An armeria client that uses the gRPC wire protocol. ... Provides a Dropwizard Bundle for Armeria.
Read more >Working with gRPC - choose between frameworks like Spring ...
Working with gRPC - choose between frameworks like Spring or Dropwizard ... We are looking ahead to implement a pure gRPC server backend...
Read more >com.linecorp.armeria » armeria-dropwizard ... - Maven Repository
Asynchronous HTTP/2 RPC/REST client/server library built on top of Java 8, Netty, Thrift and gRPC (armeria-dropwizard) ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This is honestly amazing.
We decided to use something else, but it’s great to see that you have implemented it! Will look out Armeria in future. Well done to both of you!
Happy holidays!
Sure!
It’s in the develop branch for now. I copied the module layout based on the GraphQL bundle
https://github.com/cricket007/dropwizard-armeria/blob/develop/armeria-core/src/main/java/cricket/jmoore/dropwizard/ArmeriaBundle.java