中文字幕在线观看,亚洲а∨天堂久久精品9966,亚洲成a人片在线观看你懂的,亚洲av成人片无码网站,亚洲国产精品无码久久久五月天

Apache Kafka 2.0.0 正式發(fā)布,分布式消息發(fā)布訂閱系統(tǒng)

2018-07-31    來源:oschina

容器云強(qiáng)勢上線!快速搭建集群,上萬Linux鏡像隨意使用
Kafka

Apache Kafka 2.0.0 已正式發(fā)布,這是一個(gè)主要版本,新增了許多重要的新功能。此外還包括許多重要的 bug 修復(fù)和改進(jìn),其中還包括一些嚴(yán)重的錯(cuò)誤修復(fù)。

Apache Kafka 2.0.0 下載地址 >>> https://kafka.apache.org/downloads#2.0.0

值得關(guān)注的新特性

  • 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.

可以看到,從該版本起,已經(jīng)放棄對(duì) Java 7 的支持,并移除了之前棄用的 Scala 生產(chǎn)者和消費(fèi)者。

更多詳細(xì)的信息,請(qǐng)查看發(fā)布說明。

標(biāo)簽: ssl

版權(quán)申明:本站文章部分自網(wǎng)絡(luò),如有侵權(quán),請(qǐng)聯(lián)系:west999com@outlook.com
特別注意:本站所有轉(zhuǎn)載文章言論不代表本站觀點(diǎn)!
本站所提供的圖片等素材,版權(quán)歸原作者所有,如需使用,請(qǐng)與原作者聯(lián)系。

上一篇:開源 Web 框架 Rails 5.2.1.RC1 發(fā)布,預(yù)計(jì)下周推出正式版

下一篇:Java 代碼檢查工具 PMD 6.6.0 發(fā)布,正式支持 Java 11