From 43f7b85feda4d6358bc31df6be3e6ef177ce104a Mon Sep 17 00:00:00 2001 From: CaptainB Date: Thu, 2 Nov 2023 10:37:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0Kafka=E4=B8=AD?= =?UTF-8?q?=E9=97=B4=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/kafka/3.6.0/data.yml | 16 +++++++++++++++ apps/kafka/3.6.0/docker-compose.yml | 30 ++++++++++++++++++++++++++++ apps/kafka/README.md | 9 +++++++++ apps/kafka/data.yml | 19 ++++++++++++++++++ apps/kafka/logo.png | Bin 0 -> 3882 bytes 5 files changed, 74 insertions(+) create mode 100644 apps/kafka/3.6.0/data.yml create mode 100644 apps/kafka/3.6.0/docker-compose.yml create mode 100644 apps/kafka/README.md create mode 100644 apps/kafka/data.yml create mode 100644 apps/kafka/logo.png diff --git a/apps/kafka/3.6.0/data.yml b/apps/kafka/3.6.0/data.yml new file mode 100644 index 000000000000..ce5e54b88ba5 --- /dev/null +++ b/apps/kafka/3.6.0/data.yml @@ -0,0 +1,16 @@ +additionalProperties: + formFields: + - default: 9092 + envKey: KAFKA_PORT + labelEn: Port + labelZh: TCP 端口 + required: true + rule: paramPort + type: number + - default: '127.0.0.1' + envKey: KAFKA_HOST + labelEn: Host + labelZh: Host/IP + required: true + rule: paramCommon + type: text diff --git a/apps/kafka/3.6.0/docker-compose.yml b/apps/kafka/3.6.0/docker-compose.yml new file mode 100644 index 000000000000..adfef81cf650 --- /dev/null +++ b/apps/kafka/3.6.0/docker-compose.yml @@ -0,0 +1,30 @@ +version: '3' +services: + kafka: + container_name: ${CONTAINER_NAME} + restart: always + environment: + ALLOW_PLAINTEXT_LISTENER: 'yes' + KAFKA_CFG_LOG_RETENTION_MS: 60000 + KAFKA_CFG_MAX_REQUEST_SIZE: 524288000 + KAFKA_CFG_MESSAGE_MAX_BYTES: 524288000 + KAFKA_CFG_REPLICA_FETCH_MAX_BYTES: 524288000 + KAFKA_CFG_FETCH_MESSAGE_MAX_BYTES: 524288000 + KAFKA_CFG_PARTITION_FETCH_BYTES: 524288000 + KAFKA_CFG_NODE_ID: 0 + KAFKA_CFG_PROCESS_ROLES: controller,broker + KAFKA_CFG_LISTENERS: PLAINTEXT://:9092,CONTROLLER://:9093 + KAFKA_CFG_ADVERTISED_LISTENERS: PLAINTEXT://${KAFKA_HOST}:${KAFKA_PORT} + KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP: CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT + KAFKA_CFG_CONTROLLER_QUORUM_VOTERS: 0@127.0.0.1:9093 + KAFKA_CFG_CONTROLLER_LISTENER_NAMES: CONTROLLER + networks: + - 1panel-network + ports: + - "${KAFKA_PORT}:9092" + image: bitnami/kafka:3.6.0 + labels: + createdBy: "Apps" +networks: + 1panel-network: + external: true diff --git a/apps/kafka/README.md b/apps/kafka/README.md new file mode 100644 index 000000000000..4e6be6834094 --- /dev/null +++ b/apps/kafka/README.md @@ -0,0 +1,9 @@ +# Kafka + +Kafka 一个分布式流处理平台 + +## 主要功能: + +- 它能够让应用发布或预订数据或事件流。 +- 它能够以可容错的持久方式准确地存储记录(即,按照记录的出现顺序)。 +- 它能够实时处理记录(一出现便处理)。 diff --git a/apps/kafka/data.yml b/apps/kafka/data.yml new file mode 100644 index 000000000000..87fe1852852d --- /dev/null +++ b/apps/kafka/data.yml @@ -0,0 +1,19 @@ +name: Kafka +tags: + - 中间件 +title: Kafka 一个分布式流处理平台 +type: 中间件 +description: Kafka 是一个分布式流处理平台 +additionalProperties: + key: kafka + name: Kafka + tags: + - Middleware + shortDescZh: Apache Kafka 是一种分布式数据存储,经过优化以实时提取和处理流数据。流数据是指由数千个数据源持续生成的数据,通常可同时发送数据记录。流平台需要处理这些持续流入的数据,按照顺序逐步处理。 + shortDescEn: Apache Kafka is a distributed data store optimized for ingesting and processing streaming data in real-time. Streaming data is data that is continuously generated by thousands of data sources, which typically send the data records in simultaneously. A streaming platform needs to handle this constant influx of data, and process the data sequentially and incrementally. + type: tool + crossVersionUpdate: false + limit: 0 + website: https://kafka.apache.org/ + github: https://github.com/apache/kafka + document: https://kafka.apache.org/documentation/ \ No newline at end of file diff --git a/apps/kafka/logo.png b/apps/kafka/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..3576e5c511ea8d839b46616281d2d3d75a575cc6 GIT binary patch literal 3882 zcmV+_57qFAP)Af_SA%RKDkw4H1MmqdqU;*@BQmlqJCEJjUC(#woO`S9^zEKmrk9?jPIC8lSDmUl zRbQP`r%qMR)@p$Q1qu`>P@o5jhRO+nRwu2^vg|N=uhH+DHf?%{_dU=mqM@u-1DKVR z)fntRtAuhh+p_j)No>zgjJZBF=1*yCewIejhpn|o2ulEV6;KXn636E>josg}$$q@~ zGd)xEo$~G@pidUo0PKL%TKvTxKTRX^U->>S0MAWKOgvet2+q?05}V#;WNw0Hrcu0y-*t0_ zG7Jw7KazmGOn{wXQ(TWfgFNwy0}T+dmf5i}LtyQN*#&T|*lyN*+1fDCn))wYXNmWB zk{tH214eEwwe~0nl$mF3jO>X>S3oBxCm)J8ndl2eTk+gcuh$roxPk=yuAO?j%x=OTg7VjiB-`h~HH7=W?C0Fb>fo; zp79^lgLclAxda+*j2WY{Z>IDeZQCYVr=^ZwW|;TNVoiGS_LGKK4wj|O;dAMfCh3Dm z8X>}Vg-q>Th#rxX^aC%?*DfC9No$`ffH@6~%w--A6M^{r5~vp-z2s<>X;3`ns>!r! zEDaAbY1osJ*xoIsb1TwhznTxU0z#(u^}@$m+O+mrNSA%=8l5QQG5}( zw}T0j81q{4re8zlUr=T`2$XyD)~3eOQ7j0vd@ z69{LgB>ew)owWAqc0O581=J);-X@^#X3$2P8-$eyL_wv2xEgz0HqQjG@O12aF%itg z>(l0bcY0+0CfOa!^nsiM2#U>iSS`rDA)Q2k<{iib(2!3ZO!YZx)syw0QNA{kW=v5B zEYcn$MLpp%bsMF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