In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the knowledge of "what are the new features of Pulsar 2.0". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Pulsar 2.0 is a new major version of Pulsar with some major changes, including a simplified Topic name, the addition of Pulsar Functions functionality, and some terminology changes.
New features of Pulsar 2.0A major change in the lightweight computing function of DescriptionPulsar FunctionsPulsar
You need to be aware of some major changes that can significantly affect the daily use of Pulsar.
Property Vs. Tenant
In previous versions, Pulsar had a concept of property. A property is essentially the exact same thing as a tenant, so the "property" terminology has been removed in version 2.0. The pulsar-admin properties command-line interface, for example, has been replaced with the pulsar-admin tenants interface. In some cases, properties is still used, but it is not recommended and will be completely removed in subsequent updates.
Topic name
Prior to version 2.0, all Pulsar topics had the following form:
{persistent | non-persistent}: / / property/cluster/namespace/topic
There are two important changes in Pulsar 2.0:
No longer use the cluster part
Property is changed to tenant
You can use a flexible naming system to simplify topic names.
/ is not allowed in topic name
No longer use the cluster part
The cluster component has been removed from topic names. Thus, all topic names now have the following form:
{persistent | non-persistent}: / / tenant/namespace/topic
The previous named form of topic has been used, its naming form has not changed, and will not change in the future.
Topic flexibility naming
Within Pulsar 2.0, all Topic names take the form shown above, but in many cases (for simplicity), simplified names can be used. The flexible naming system has default values based on topic type, tenant and namespace. The default values are as follows:
Topic default topic type persistent tenant public namespace default
The following table is an example of a translation of a topic name using implicit default values:
Enter the topic name my-topicpersistent://public/default/my-topicmy-tenant/my-namespace/my-topicpersistent://tenant/namespace/topic after topic name conversion
For non-persistent topics, you need to specify the full name of the topic, because the default rule for persisting topic names does not apply here. Therefore, instead of using a simplified name such as non-persistent://my-topic, you should use non-persistent://public/default/my-topic.
That's all for "what are the new features of Pulsar 2.0?" Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.