All Projects → streamnative → pulsarctl

streamnative / pulsarctl

Licence: Apache-2.0 license
a CLI for Apache Pulsar written in Go

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to pulsarctl

tgip
TGIP (TGI Pulsar) is a weekly live video streaming about Apache Pulsar and its ecosystem.
Stars: ✭ 17 (-83.96%)
Mutual labels:  pulsar, apache-pulsar
pulsar-beat-output
Elastic Beats Output to Apache Pulsar
Stars: ✭ 51 (-51.89%)
Mutual labels:  pulsar, apache-pulsar
pulsar-io-kafka
Pulsar IO Kafka Connector
Stars: ✭ 24 (-77.36%)
Mutual labels:  pulsar, apache-pulsar
aop
AMQP on Pulsar protocol handler
Stars: ✭ 93 (-12.26%)
Mutual labels:  pulsar, apache-pulsar
tgip-cn
TGIP-CN (Thank God Its Pulsar) is a weekly live video streaming about Apache Pulsar in Chinese.
Stars: ✭ 96 (-9.43%)
Mutual labels:  pulsar, apache-pulsar
MusicDatabase-API
This project is able to manage your songs, artists, albums and more by RESTful API. Developed with ASP.NET Core 2.0 & EF Core and used PostgreSQL Database Provider. Implemented Swagger to project.
Stars: ✭ 18 (-83.02%)
Mutual labels:  restful-api
go-echo-boilerplate
The fastest way to build a restful API with golang and echo framework. Includes common required features for modern web applications. A boilerplate project with golang and Echo.
Stars: ✭ 53 (-50%)
Mutual labels:  restful-api
XCloud
Official Code for Paper <XCloud: Design and Implementation of AI Cloud Platform with RESTful API Service> (arXiv1912.10344)
Stars: ✭ 58 (-45.28%)
Mutual labels:  restful-api
server
AuthzForce Server (Community Edition)
Stars: ✭ 48 (-54.72%)
Mutual labels:  restful-api
ccu-jack
CCU-Jack bietet einen einfachen und sicheren REST- und MQTT-basierten Zugriff auf die Datenpunkte der Zentrale (CCU) des Hausautomations-Systems HomeMatic. Zudem können einfach Fremdgeräte an die CCU angebunden werden.
Stars: ✭ 63 (-40.57%)
Mutual labels:  restful-api
tastjava
The RESTful Web API framework for Java
Stars: ✭ 27 (-74.53%)
Mutual labels:  restful-api
APIExample
以API接口开发为例,探索开发的最佳实践
Stars: ✭ 61 (-42.45%)
Mutual labels:  restful-api
docker-node-express-boilerplate
Boilerplate for quickly bootstrapping production-ready RESTful APIs / microservices
Stars: ✭ 113 (+6.6%)
Mutual labels:  restful-api
response
Response HTTP package for Simfony, Laravel, Lumen and PHP 7 with standard REST API
Stars: ✭ 14 (-86.79%)
Mutual labels:  restful-api
supernova
🌌 Apache Pulsar client for Haskell
Stars: ✭ 35 (-66.98%)
Mutual labels:  apache-pulsar
pulsar
The User Experience and Interface framework by Jadu.
Stars: ✭ 23 (-78.3%)
Mutual labels:  pulsar
easy-gin
一套基于 Gin 框架的 MVC 脚手架,使用 govendor 包管理
Stars: ✭ 74 (-30.19%)
Mutual labels:  restful-api
nocodb
🔥 🔥 🔥 Open Source Airtable Alternative - turns any MySQL, Postgres, SQLite into a Spreadsheet with REST APIs.
Stars: ✭ 28,894 (+27158.49%)
Mutual labels:  restful-api
dhiwise-nodejs
DhiWise Node.js API generator allows you to instantly generate secure REST APIs. Just supply your database schema to DhiWise, and a fully documented CRUD APIs will be ready for consumption in a few simple clicks. The generated code is clean, scalable, and customizable.
Stars: ✭ 224 (+111.32%)
Mutual labels:  restful-api
rest node api
用node实现restful风格的api
Stars: ✭ 55 (-48.11%)
Mutual labels:  restful-api

Language LICENSE GoDoc

Pulsarctl

A CLI tool for the Apache Pulsar project.

Available Releases

Version Reference
0.5.0 Command Reference
0.4.1 Command Reference
0.4.0 Command Reference
0.3.0 Command Reference
0.2.0 Command Reference
0.1.0 Command Reference

Install pulsarctl

Mac operation system

Use homebrew to install pulsarctl on the Mac operation system.

brew tap streamnative/streamnative
brew install pulsarctl

Linux operation system

Use this command to install pulsarctl on the Linux operation system.

sh -c "$(curl -fsSL https://raw.githubusercontent.com/streamnative/pulsarctl/master/install.sh)"

Windows operation system

To install pulsarctl on the Windows operation system, follow these steps:

  1. Download the package from here.
  2. Add the pulsarctl directory to your system PATH.
  3. Type pulsarctl -h at CMD to verify that pulsarctl is work.

As project dependency

Use go get to install pulsarctl as dependency on your project:

go get github.com/streamnative/pulsarctl@master

Note: We will not release v0.y.z tags, so you need to use master branch code.

Build pulsarctl from codes

Prerequisite

  • Go 1.11 +

    If you have not installed Go, install it according to the installation instruction.

    Since the go mod package management tool is used in this project, Go 1.11 or higher version is required.

Steps

  1. Download codes.

    1. Clone the project from GitHub to your local.

      git clone https://github.com/streamnative/pulsarctl.git
    2. Use go mod to get the dependencies needed for the project.

      go mod download

      After entering the go mod download command, if some libs can not be downloaded, then you can download them by referring to the proxy provided by GOPROXY.io.

  2. Build pulsarctl

    make pulsarctl

    If you want to print version of pulsarctl, you can use follow commands:

    bin/pulsarctl --version
    

    Output:

    Release Version: v2.8.0.3
    Git Commit Hash: add1e586e8d56fcc1cbd2fe94ed75b10d6c54672
    Git Branch: HEAD
    UTC Build Time: 2021-06-26 06:39:16
    Go Version: go version go1.16.3 darwin/amd64
    

Enable Auto-Completion

If you want to enable autocompletion in shell, see enable_completion.

Use contexts

If you want to cache information of multiple clusters, and can switch between multiple clusters, see How to use pulsarctl context.

Project Status

The following is an incomplete list of features that are not yet implemented:

Functions

  • localrun

Sources

  • localrun
  • available-sources
  • reload

Sinks

  • localrun
  • available-sources
  • reload

Schemas

  • extract

Namespaces

  • delete-bookie-affinity-group
  • get-bookie-affinity-group
  • set-bookie-affinity-group

Bookies

  • racks-placement
  • get-bookie-rack
  • delete-bookie-rack
  • set-bookie-rack

Different With Java Pulsar Admin

We move the subscription commands from the topics to the subscriptions in pulsarctl.

pulsar-admin pulsarctl
bin/pulsar-admin topics create-subscription pulsarctl subscription create
bin/pulsar-admin topics unsubscribe pulsarctl subscription delete
bin/pulsar-admin topics skip pulsarctl subscription skip
bin/pulsar-admin topics expire-messages pulsarctl subscription expire
bin/pulsar-admin topics peek-messages pulsarctl subscription peek
bin/pulsar-admin topics reset-cursor pulsarctl subscription seek
bin/pulsar-admin topics subscriptions pulsarctl subscription list

Contribute

Contributions are welcomed and greatly appreciated. For more information about how to submit a patch and the contribution workflow, see CONTRIBUTING.md.

License

Licensed under the Apache License Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].