public GrpcBusConfiguration(IGrpcTopologyConfiguration topologyConfiguration, Uri baseAddress) : base(topologyConfiguration) { HostConfiguration = new GrpcHostConfiguration(this, baseAddress, topologyConfiguration); Serialization.ClearDeserializers(); Serialization.DefaultContentType = GrpcMessageSerializer.GrpcContentType; Serialization.AddDeserializer(GrpcMessageSerializer.GrpcContentType, () => new GrpcMessageDeserializer(GrpcMessageSerializer.Deserializer)); Serialization.SetSerializer(() => new GrpcMessageSerializer()); BusEndpointConfiguration = CreateEndpointConfiguration(); _busObservers = new BusObservable(); }