Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rhoas/kafka-instance-sdk

Package Overview
Dependencies
Maintainers
5
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rhoas/kafka-instance-sdk

RHOAS Kafka Instance Adminstration SDK

  • 0.49.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
increased by700%
Maintainers
5
Weekly downloads
 
Created
Source

Kafka Instance Admin SDK

RHOAS Kafka Instance Admin SDK TypeScript/JavaScript SDK Provides SDK for interacting with Kafka instances

NOTE: This SDK requires different authentication than management APIs

Getting Started

Install Package
npm install @rhoas/kafka-instance-sdk --save
Usage
import { Configuration, DefaultApi } from "@rhoas/kafka-instance-sdk";

const accessToken = process.env.CLOUD_API_TOKEN;
const basePath = "https://api.openshift.com";

const apiConfig = new Configuration({
  accessToken,
  basePath,
});

const kafkaInstance = new DefaultApi(apiConfig)

kafkaInstance.getTopics().then((data) => {
    console.log(data?.data)
}).catch((err) => {
    console.error(err.message)
})

See ./examples for full example

Keywords

FAQs

Package last updated on 16 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc