分类

安卓应用安卓游戏

开发环境

Apache Kafka正式版

Apache Kafka正式版 2.0.0

大小:6.28 MB

语言:简体中文系统:WinXP, Win7, Win8, Win10

类别:开发环境时间:2018-08-06 08:32

分布式发布订阅消息系统
  • Apache Kafka正式版

Tags:编程开发JAVA集成环境开发环境Java开源框架

kafka是一种高吞吐量的分布式发布订阅消息系统,她有如下特性:通过O(1)的磁盘数据结构提供消息的持久化,这种结构对于即使数以TB的消息存储也能够保持长时间的稳定性能。

Kafka 详细介绍

kafka是一种高吞吐量的分布式发布订阅消息系统,她有如下特性:

通过O(1)的磁盘数据结构提供消息的持久化,这种结构对于即使数以TB的消息存储也能够保持长时间的稳定性能。

高吞吐量:即使是非常普通的硬件kafka也可以支持每秒数十万的消息。

支持通过kafka服务器和消费机集群来分区消息。

支持Hadoop并行数据加载。

卡夫卡的目的是提供一个发布订阅解决方案,它可以处理消费者规模的网站中的所有动作流数据。 这种动作(网页浏览,搜索和其他用户的行动)是在现代网络上的许多社会功能的一个关键因素。 这些数据通常是由于吞吐量的要求而通过处理日志和日志聚合来解决。 对于像Hadoop的一样的日志数据和离线分析系统,但又要求实时处理的限制,这是一个可行的解决方案。kafka的目的是通过Hadoop的并行加载机制来统一线上和离线的消息处理,也是为了通过集群机来提供实时的消费。

值得关注的新特性

KIP-290 adds support for prefixed ACLs, simplifying access control management in large secure deployments. Bulk access to topics, consumer groups or transactional ids with a prefix can now be granted using a single rule. Access control for topic creation has also been improved to enable access to be granted to create specific topics or topics with a prefix.

KIP-255 adds a framework for authenticating to Kafka brokers using OAuth2 bearer tokens. The SASL/OAUTHBEARER implementation is customizable using callbacks for token retrieval and validation.

Host name verification is now enabled by default for SSL connections to ensure that the default SSL configuration is not susceptible to man-in-the-middle attacks. You can disable this verification if required.

You can now dynamically update SSL truststores without broker restart. You can also configure security for broker listeners in ZooKeeper before starting brokers, including SSL keystore and truststore passwords and JAAS configuration for SASL. With this new feature, you can store sensitive password configs in encrypted form in ZooKeeper rather than in cleartext in the broker properties file.

The replication protocol has been improved to avoid log divergence between leader and follower during fast leader failover. We have also improved resilience of brokers by reducing the memory footprint of message down-conversions. By using message chunking, both memory usage and memory reference time have been reduced to avoid OutOfMemory errors in brokers.

Kafka clients are now notified of throttling before any throttling is applied when quotas are enabled. This enables clients to distinguish between network errors and large throttle times when quotas are exceeded.

We have added a configuration option for Kafka consumer to avoid indefinite blocking in the consumer.

We have dropped support for Java 7 and removed the previously deprecated Scala producer and consumer.

Kafka Connect includes a number of improvements and features. KIP-298 enables you to control how errors in connectors, transformations and converters are handled by enabling automatic retries and controlling the number of errors that are tolerated before the connector is stopped. More contextual information can be included in the logs to help diagnose problems and problematic messages consumed by sink connectors can be sent to a dead letter queue rather than forcing the connector to stop.

KIP-297 adds a new extension point to move secrets out of connector configurations and integrate with any external key management system. The placeholders in connector configurations are only resolved before sending the configuration to the connector, ensuring that secrets are stored and managed securely in your preferred key management system and not exposed over the REST APIs or in log files.

We have added a thin Scala wrapper API for our Kafka Streams DSL, which provides better type inference and better type safety during compile time. Scala users can have less boilerplate in their code, notably regarding Serdes with new implicit Serdes.

Message headers are now supported in the Kafka Streams Processor API, allowing users to add and manipulate headers read from the source topics and propagate them to the sink topics.

Windowed aggregations performance in Kafka Streams has been largely improved (sometimes by an order of magnitude) thanks to the new single-key-fetch API.

We have further improved unit testibility of Kafka Streams with the kafka-streams-testutil artifact.

可以看到,从该版本起,已经放弃对 Java 7 的支持,并移除了之前弃用的 Scala 生产者和消费者。

∨ 展开

相关版本

同类推荐

相关下载

猜你喜欢

相关文章

热门推荐

下载排行

热门关键字

文明时代2Mod电视直播软件短剧平台植物大战僵尸版本大全天正电气版本合集迅读软件版本大全鸿合教育软件大全口袋妖怪系列破解版口袋妖怪玩家自制版老爹模拟经营游戏系列The Foundry软件产品系列EndNote软件合集乐教乐学软件版本大全滤镜多的美图相机手机日语学习软件像素地牢推荐版本免费手机录屏软件苹果电脑网课软件大全好用的手机影院剑网三游戏版本大全激战2游戏版本大全免费电视电影App宅男影音神器忍者题材动作游戏推荐电脑热门网络游戏排行PC端二次元游戏推荐千牛版本大全Creo3.0版本合集Creo软件专区Microsoft Office2016版本合集

网友评论

我要跟帖
取消
游客

不错的额,推荐一下1

回复赞(5)
查看所有评论 共 1