Skip to main content

· 3 min read

简介

KnowStreaming 是一套云原生的Kafka管控平台,脱胎于众多互联网内部多年的Kafka运营实践经验,专注于Kafka运维管控、监控告警、资源治理、多活容灾等核心场景。在用户体验、监控、运维管控上进行了平台化、可视化、智能化的建设,提供一系列特色的功能,极大地方便了用户和运维人员的日常使用,让普通运维人员都能成为Kafka专家。

快速部署 KnowStreaming

首先根据快速安装文档部署 Rainbond

KnowStreaming 已发布至 开源应用商店 ,用户可搜索 KnowStreaming,一键安装 KnowStreaming

安装后,访问 KnowStreaming-UI 进入控制台,默认密码:admin / admin

快速部署 Kafka 集群

上面我们已经部署了 KnowStreaming,接下来我们也可通过 开源应用商店 安装Kafka集群并进行对接。

Kafka 已发布至 开源应用商店 ,用户可搜索 kafka,一键安装 Kafka-Zookeeper-Bitnami

安装完成后,我们进入 kafka1kafka2 的组件 -> 环境变量

修改 KAFKA_CFG_ADVERTISED_LISTENERS 环境变量为组件9092端口的对外IP + 端口,例如:PLAINTEXT://192.168.3.162:10000

修改 JMX_PORT 环境变量为TCP对外端口地址供 Logikm 获取指标。例如:JMX_PORT为9999,组件对应的端口也要为9999,同时tcp对外端口也是9999

使用 KnowStreaming 对接并管理 Kafka 集群

接下来我们通过 KnowStreaming 对接刚刚安装的 kafka集群。

访问 KnowStreaming,接入集群,根据页面提示填写对应信息。

对接完成后,我们就可通过 KnowStreaming 管理 kafka 集群啦。

· 14 min read

:::info Rainbond is a product that has been committed to opening up the entire process of enterprise application delivery. An indispensable part of this process is the continuous upgrading and iteration of enterprise applications.The unique ability of Rainbond is to package enterprise application systems including multiple service components, and perform one-click installation, upgrade and rollback operations.The above only solves the versioning problem of the application itself.To fully automate the upgrade iteration process of enterprise applications, it is also necessary to automatically handle the version control of the database table structure (Schema).After continuous exploration, Rainbond first integrated the ability of database schema version management in the cloud native era with the industry-leading Liquibase in the field of source code construction. :::

· 5 min read
The Prometheus community developed JMX Exporter to export JVM monitoring metrics so that Prometheus can be used to collect monitoring data.When your Java application is deployed on Rainbond

Learn how Java applications deployed on Rainbond can use the JMX Exporter to expose JVM monitoring metrics. :::

· 4 min read
Locust is an easy-to-use, scriptable and extensible performance testing tool.And there is a user-friendly web interface that displays test progress in real time.The load can even be changed while the test is running.It can also run without UI, making it easy to use for CI/CD testing.

Locust makes it easy to run load tests that are distributed across multiple machines.Locust is based on events (gevent), so it can support thousands of concurrent users on a single computer.In contrast to many other event-based applications, it does not use callbacks.Instead, it uses lightweight processes via gevent.Each Locust (locust) concurrently accessing the site is actually running in its own process (Greenlet).This allows users to write very expressive scenarios in Python without having to use callbacks or other mechanisms. :::

· 8 min read
There are many existing ServiceMesh frameworks, such as Istio, linkerd, etc.For users, in the test environment, the effect that needs to be achieved is fast and out-of-the-box.However, in the production environment, there may be requirements such as fusing and delay injection.Then a single ServiceMesh framework cannot meet the different needs of users at the same time.

In previous Rainbond versions, Rainbond supported a variety of different application governance modes. As an application-level plug-in, it implemented the switching of Istio governance modes.

This article will analyze the principle of Rainbond's implementation of the Istio governance model. :::

· 6 min read

:::info ELK is:acronym for three open source projects1 Elasticsearch, Logstash and Kibana.However, FileBeat, which appeared later, can completely replace the data collection function of Logstash, and it is also relatively lightweight.This article will cover EFK: Elasticsearch, Filebeat and Kibana :::

· 3 min read

1.MaxKey简介

业界领先的身份管理和认证产品

MaxKey单点登录认证系统谐音为马克思的钥匙,寓意是最大钥匙,业界领先的企业级IAM身份管理和认证产品,国内开源IAM第一品牌

  • 统一认证和单点登录,简化账号登录过程,保护账号和密码安全,对账号进行统一管理。
  • 提供简单、标准、安全和开放的用户身份管理(IDM)、身份认证(AM)、单点登录(SSO)、资源管理和权限管理(RBAC)等.
  • 标准安全策略包括密码策略,访问策略;事后安全审计,对用户全生命周期审计、访问行为记录追溯审计、安全合规审计、安全风险预警。

2.通过Rainbond应用商店快速安装MaxKey

  • 在开源应用商店中搜索 MaxKey,点击安装

  • 部署完成后的拓扑图。

  • maxkey-web-maxkey 是认证服务,maxkey-web-mgt 是管理服务。

    账号密码均是:admin maxkey

3.MaxKey能做什么

  • MaxKey是认证平台,可将公司内部的服务平台对接至MaxKey,进行统一登录。比如可以将公司内部的 GitLab 禅道 Jenkins 等支持单点登录协议的服务平台。
  • 本文将通过对接 禅道 实现统一登录。

通过Rainbond应用商店快速安装禅道

  • 在开源应用商店中搜索 禅道,点击进行安装。

  • 安装完成后,访问 禅道 进行初始化设置。

    Mysql密码在组件的依赖中获取。

  • 进入禅道后,点击 后台 > 二次开发 > 应用 > 添加应用。

    • 名称:自定义
    • 代号:maxkey
    • 免密登录:开启
    • IP:无限制

配置MaxKey实现统一登录

  • 进入MaxKey管理服务中,进入应用管理页,编辑 禅道项目管理,进入编辑页面。
  • 需修改:
    • 登录地址:禅道登录地址
    • 秘钥:填写上一步在禅道中添加应用时的秘钥

  • 进入 MaxKey认证服务中,点击禅道项目管理,即可跳转至禅道页面并自动登录。

如需应用入驻,请联系张经理:18701654470

· 4 min read

:::info Rainbond , as a cloud native application management platform, is born with a distributed gateway rbd-gateway that guides north-south network traffic.Different from the general Ingress configuration, users need to define their own domain name experience. Rainbond's gateway policy can automatically generate a domain name access policy with one click, and users can immediately access the business system deployed on Rainbond through this domain name.This user experience is very friendly in development and testing scenarios. This article explains in detail how this mechanism is implemented. :::

· 8 min read
Two years ago, Service Mesh (Service Mesh) became popular as soon as it came out. Many people think it is the final form of microservice architecture, because it can decouple business code from microservice architecture, that is, business The code does not need to be modified to implement the microservice architecture, but the decoupling is not thorough enough, and it is still inconvenient to use. Although the architecture is decoupled, the deployment has not been decoupled.
  • It is impossible to choose a suitable Service Mesh framework according to different environments or customer needs.
  • It is impossible to learn and use Service Mesh in the development environment, and enable the production environment on demand. :::

· 4 min read
info

Rainbond is an integrated cloud-native application management platform. It provides an "application-centric" abstraction. Users do not need to learn K8s and containers. The platform encapsulates K8s and containers inside. It greatly improves the ease of use and the convenience of installation, but how to replace the internal components of the package is a problem. This article will explain how to use Harbor to replace the original default mirror warehouse of Rainbond.