Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connecting to remote MapR cluster #2

Open
gokulavasan opened this issue Aug 28, 2017 · 4 comments
Open

Connecting to remote MapR cluster #2

gokulavasan opened this issue Aug 28, 2017 · 4 comments

Comments

@gokulavasan
Copy link

Hi,

The example seems to show a use case where the producer/consumer run on the same cluster where MapRStreams is running. What property do I need to set if I want to connect to a remote MapR cluster (since bootstrap.server property is not used)?

@sgajjarhawk
Copy link

I have the same question. I know its an old question, but I am working on MapR Streams but couldn't find answer anywhere yet. Please let me know if you found the answer

Thanks

@tdunning
Copy link
Contributor

Let me get an answer here.

Back in a bit.

@tdunning
Copy link
Contributor

In general, it doesn't matter if you run this code on a cluster or not. You can install the mapr client or run without that. With the mapr client installation, there is a configuration file that specifies which clusters you can see. If you are just running this program apart from a cluster, then you have to provide this information by other means.

The point of this configuration is that it ties the cluster names to the network addresses and those cluster names appear in path names of the form /mapr/.

I can come back in a bit with more specifics about how to do this without a mapr client installation. For sure, the simplest solution is to install mapr client and configure addresses of the cluster core machines.

@sgajjarhawk
Copy link

Great. Still the MapR blogs, resources etc have very limited information on how to connect so if you can provide more details would be a great help.

We have created an applications as shows in below link in development machine. But the remaining questions is how our application know when running from development machine where to connect it to for MapR Stream? There is no information about the connection. It keeps saying that we need to define the "/streamname:topicname" but the connection piece is missing :)

https://mapr.com/docs/home/MapR_Streams/MapRStreamsCsharpNET-Example.html

I can provide use-case scenario in details if you need more information.

Looking forward to your help once you are back

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants