Skip to content

Latest commit

 

History

History
67 lines (45 loc) · 1.88 KB

README.md

File metadata and controls

67 lines (45 loc) · 1.88 KB

Luna Streaming Shell

Getting started

pulsar-shell-installer

curl -Ls "https://raw.githubusercontent.com/datastax/homebrew-luna-streaming-shell/master/get-pulsar-shell.sh" | bash

Getting started with brew (MacOS)

You can install the latest Luna Streaming shell using:

brew install datastax/luna-streaming-shell/pulsar-shell
pulsar-shell

or

brew tap datastax/luna-streaming-shell && brew install pulsar-shell
pulsar-shell

The current Luna Streaming version is:

url "https://github.com/datastax/pulsar/releases/download/ls210_1.7/lunastreaming-shell-2.10.1.7-bin.tar.gz"

Connect to your cluster

Download the client.conf from a local file, a remote server or write it inline:

pulsar-shell

default(localhost)> config create mycluster --file $local_file

default(localhost)> config create mycluster --url https://url

default(localhost)> config create mycluster --value "
dquote> webServiceUrl=https://admin-url:8443
dquote> brokerServiceUrl=pulsar://service-url:6651
dquote> authPlugin=org.apache.pulsar.client.impl.auth.AuthenticationToken
dquote> authParams=token:xxx
dquote> "

or without using the interactive mode:

echo '
config create mycluster --value 'webServiceUrl=https://admin-url:8443\nbrokerServiceUrl=pulsar://service-url:6651\nauthPlugin=org.apache.pulsar.client.impl.auth.AuthenticationToken\nauthParams=token:xxx\n'
config view mycluster
config use mycluster
' | pulsar-shell --fail-on-error -
pulsar-shell

Changelog

You can check the Datastax Luna Streaming changelog to see what's new.

Resources

Visit Apache Pulsar Shell documentation for more details.