Interface GrpcEventBusBridge

All Superinterfaces:
Service, ServiceInvoker

public interface GrpcEventBusBridge extends Service

gRPC EventBus bridge for Vert.x.

This interface provides methods to create and manage a gRPC service that bridges the Vert.x EventBus to external clients using the gRPC protocol. It allows external applications to communicate with the Vert.x EventBus through gRPC, enabling cross-platform and cross-language communication.

The bridge supports operations like publishing messages, sending requests, subscribing to addresses, and handling responses from the EventBus.

  • Method Details

    • builder

      static GrpcEventBusBridgeBuilder builder(Vertx vertx)
      Create a builder for advanced configuration of the bridge.
      Parameters:
      vertx - the vertx instance
      Returns:
      the builder
    • create

      static GrpcEventBusBridge create(Vertx vertx)
      Creates a new gRPC EventBus bridge service with default options and null bridge event handler.
      Parameters:
      vertx - the Vert.x instance to use
      Returns:
      a new instance of GrpcEventBusBridgeService
    • create

      static GrpcEventBusBridge create(Vertx vertx, GrpcBridgeOptions options)
      Creates a new gRPC EventBus bridge service with the specified event bus and bridge options.
      Parameters:
      vertx - the Vert.x instance to use
      options - the bridge options for controlling access to the EventBus
      Returns:
      a new instance of GrpcEventBusBridgeService