Comments (4)
Hi @dandamudi1414, it can connect to any cluster as long as you have access to it (network-wise and authentication wise) through configuration.
Here is an example connecting to a Confluent Cloud cluster.
An example kafka properties file:
bootstrap.servers=pkc-xxx.us-east-1.aws.confluent.cloud:9092
ssl.endpoint.identification.algorithm=https
sasl.mechanism=PLAIN
request.timeout.ms=20000
retry.backoff.ms=500
sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="xxx" password="xxx";
security.protocol=SASL_SSL
Example kafka-shell config (~/.kafka-shell/config.yaml
):
version: 1
enable:
history: true
save_on_exit: false
auto_complete: true
auto_suggest: true
inline_help: true
fuzzy_search: true
cluster: remote
clusters:
remote:
bootstrap_servers: pkc-xxx.us-east-1.aws.confluent.cloud:9092
consumer_settings:
config: /Users/devshawn/remote.properties
producer_settings:
config: /Users/devshawn/remote.properties
admin_client_settings:
config: /Users/devshawn/remote.properties
from kafka-shell.
Thanks @devshawn for the reply i will check and get back to you .. !
** I am trying this in Windows 10 hope no issues
from kafka-shell.
Hi @dandamudi1414, this tool is built upon the actual Apache Kafka command-line tools. You must install those tools, such as kafka-topics, to use it. Check out the Kafka documentation on how to install those tools :)
from kafka-shell.
Sure Thank you :)
from kafka-shell.
Related Issues (15)
- Add command: kafka-reassign-partitions
- config.yml removed once sing off HOT 2
- Configuration file validation should evaluate environment variables HOT 3
- Add additional docs for working with kafka in docker HOT 9
- cannot launch kafka-shell HOT 6
- More config/properties auto-completions HOT 1
- Add support for `.sh` kafka commands in the PATH HOT 5
- Add command: kafka-replica-verification
- How to add my own custom kafka commands into this? HOT 4
- Add command: kafka-preferred-replica-election
- Plzzz Add more Easter eggs
- Allow for commands to be piped
- Auto fill `--command-config` for commands
- Does it support ACL HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kafka-shell.