:toc: macro :toclevels: 3
= :camel: + :cloud: = Apache Camel K
image:https://img.shields.io/github/license/openshift/origin.svg?maxAge=2592000["基于Apache License 2.0版本授权", link="https://www.apache.org/licenses/LICENSE-2.0"] image:https://goreportcard.com/badge/github.com/apache/camel-k["Go报告卡", link="https://goreportcard.com/report/github.com/apache/camel-k"] image:https://godoc.org/github.com/apache/camel-k?status.svg["GoDoc", link="https://godoc.org/github.com/apache/camel-k"] image:https://github.com/apache/camel-k/workflows/build/badge.svg["构建", link="https://github.com/apache/camel-k/actions/workflows/build.yml"] image:https://github.com/apache/camel-k/actions/workflows/common.yml/badge.svg["Kubernetes", link="https://github.com/apache/camel-k/actions/workflows/common.yml"] image:https://github.com/apache/camel-k/workflows/knative/badge.svg["Knative", link="https://github.com/apache/camel-k/actions/workflows/knative.yml"] image:https://github.com/apache/camel-k/actions/workflows/nightly-release.yml/badge.svg["每日发布", link="https://github.com/apache/camel-k/actions/workflows/nightly-release.yml"] image:https://github.com/apache/camel-k/actions/workflows/native.yml/badge.svg["Quarkus原生", link="https://github.com/apache/camel-k/actions/workflows/native.yml"] image:https://img.shields.io/badge/Coverage-1-red.svg["Go覆盖率", link="https://github.com/apache/camel-k/actions/workflows/nightly-coverage.yml"] image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg["在Zulip上聊天", link="https://camel.zulipchat.com"]
Apache Camel K是一个基于Apache Camel构建的轻量级集成框架,原生运行在Kubernetes上,专为无服务器和微服务架构设计。Camel K
用户可以在他们首选的云提供商上即时运行用Camel DSL编写的集成代码。
https://camel.apache.org/camel-k/next/[它是如何工作的?]
== :gear: 安装
Camel K允许您直接在Kubernetes
或OpenShift
集群上运行集成。要使用它,您需要连接到云环境或为开发目的创建的本地集群。
https://camel.apache.org/camel-k/next/installation/installation.html[安装步骤。]
== :arrow_forward: 运行集成
您可以使用Camel DSL来定义您的集成
。只需将其保存在文件中,并使用kamel
命令行界面(https://github.com/apache/camel-k/releases/latest[下载最新版本])来运行它。例如,尝试运行:
[source,yaml] .hello.yaml
- from: uri: "timer:tick?period=3000" steps: - setBody: constant: "Hello world from Camel K" - to: "log:info"
kamel run hello.yaml
您甚至可以在dev
模式下运行您的集成。更改代码,然后看到这些更改自动(即时)应用到远程集成pod!我们提供了link:/examples[更多示例],您可以用它们来激发下一个集成
开发的灵感。
https://camel.apache.org/camel-k/next/running/running.html[查看更多详情。]
== :camel: Apache Camel组件的所有强大功能
您可以使用任何可用的Apache Camel组件。相关依赖项将自动解析。
了解更多关于https://camel.apache.org/camel-k/next/configuration/dependencies.html[依赖项和组件]的信息。
== :coffee: 不仅仅是Java
Camel K支持多种语言来编写集成。
查看所有https://camel.apache.org/camel-k/next/languages/languages.html[可用语言]。
== :checkered_flag: 特征
集成如何映射到Kubernetes资源的细节可以使用特征进行自定义。
更多信息在官方文档的https://camel.apache.org/camel-k/next/traits/traits.html[特征部分]提供。
== :cloud: 以云原生思维设计
从项目inception开始,我们的目标就是将Apache Camel
带到云端。
查看https://camel.apache.org/camel-k/next/architecture/architecture.html[软件架构详情]。
== :heart: 贡献
我们热爱贡献,我们希望让Camel K变得更好!
贡献很简单,只需查看我们的https://camel.apache.org/camel-k/next/contributing/developers.html[开发者指南]。
== :tickets: 许可
本软件根据您可能在本目录中名为link:LICENSE[LICENSE]的文件中找到的条款进行许可。