question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Will there be Nats support in the future? For Example

using JsonRpc.Core;
using JsonRpc.Router;
using JsonRpc.Router.Abstractions;
using JsonRpc.Router.Defaults;

namespace TecNotificationProcessing.NatsProcessing
{
    public interface IJRpcService
    {

        Task<RpcResponse> ProcessRequestAsync(RpcRequest request);
    }

    public class JRpcService : IJRpcService
    {
        private readonly IServiceProvider _serviceProvider;
        private readonly IRpcInvoker _invoker;
        private readonly IRouteContext _routeContext;

        public JRpcService(IRpcRouteProvider routeProvider, IServiceProvider serviceProvider, IRpcInvoker invoker)
        {
            _invoker = invoker ?? throw new ArgumentNullException(nameof(invoker)); ;
            _serviceProvider = serviceProvider ?? throw new ArgumentNullException(nameof(serviceProvider)); ;
            _routeContext = new DefaultRouteContext(null, null, routeProvider ?? throw new ArgumentNullException(nameof(routeProvider)));
        }
        public async Task<RpcResponse> ProcessRequestAsync(RpcRequest request)
        {
            return await _invoker.InvokeRequestAsync(request, RpcPath.Default, _routeContext, _serviceProvider);
        }
    }
}


Issue Analytics

  • State:open
  • Created 6 months ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Gekctekcommented, Mar 21, 2023

I have put up a PR for a potential fix to help out your situation in #115 Take a look and let me know what you think @zykovkirill

0reactions
Gekctekcommented, Mar 23, 2023

@zykovkirill Version 5.1.5 has the PR changes in it

For your questions, if you can supply me with some code for a NatsClientBuilder and NatsRpcTransportClient, I can integrate them in. Im just not familiar with Nats. Then we can go back and forth on any feedback

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support
Community Support for NATS and Clients. You can ask questions in our community forums in Slack or Google Groups, both of which have...
Read more >
Contact the Nationals | Washington Nationals
Need help purchasing Single-Game Tickets, or have questions? Call 202-675-NATS(6287) and select menu option 2. Nationals representatives will be available ...
Read more >
nats-io/nats-server
NATS is a simple, secure and performant communications system for digital systems, services and devices. NATS is part of the Cloud Native Computing ......
Read more >
Synadia Control Plane
Support covers NATS, JetStream, Key/Value Store, Object Store, and clients: Go, JavaScript, Java, Net, Python, Rust, C, and C++. Core Capabilities. Synadia ...
Read more >
NATS Messaging - Wikipedia
NATS is an open-source messaging system The NATS server is written in the Go programming language. Client libraries to interface with the server...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found