Skip to content

Commit

Permalink
sync blog
Browse files Browse the repository at this point in the history
  • Loading branch information
emqx-ci-robot authored and Red-Asuka committed Dec 20, 2024
1 parent b7ad926 commit 92508c3
Show file tree
Hide file tree
Showing 4 changed files with 232 additions and 0 deletions.
1 change: 1 addition & 0 deletions README-JA.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ Explore more with & via EMQ.
## [EMQX Open Source | Broker](https://www.emqx.com/ja/blog/category/emqx)
EMQX is the world's most scalable open-source MQTT broker with a high performance that connects 100M+ IoT devices in 1 cluster, while maintaining 1M message per second throughput and sub-millisecond latency.

- [データを失わずに常時接続を維持:EMQXプラットフォームの強力なDurable Sessions機能](https://www.emqx.com/ja/blog/emqx-platform-durable-session) ([Edit](https://github.com/emqx/blog/blob/main/ja/202412/emqx-platform-durable-session.md))
- [LoRaWAN & MQTTを活用した効率的なIoT通信](https://www.emqx.com/ja/blog/lorawan-and-mqtt) ([Edit](https://github.com/emqx/blog/blob/main/ja/202412/lorawan-and-mqtt.md))
- [データから知能アプリへ:IoTにおけるEMQXとGenAI](https://www.emqx.com/ja/blog/emqx-platform-and-genai) ([Edit](https://github.com/emqx/blog/blob/main/ja/202409/emqx-platform-and-genai.md))
- [MQTTによるエッジコンピューティングの革新:利点、課題、将来動向](https://www.emqx.com/ja/blog/revolutionizing-edge-computing-with-mqtt) ([Edit](https://github.com/emqx/blog/blob/main/ja/202408/revolutionizing-edge-computing-with-mqtt.md))
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,7 @@ Build a reliable, efficient and industry-specific Internet of Vehicles platform
## [MQTTX](https://www.emqx.com/en/blog/category/mqttx)
MQTTX is a Fully Open-source MQTT 5.0 cross-platform Desktop Client, makes it easy and quick to create multiple simultaneous online MQTT client connections, test the connection, publish, and subscribe functions of MQTT/TCP, MQTT/TLS, MQTT/WebSocket as well as other MQTT protocol features.

- [MQTTX 1.11.1 Released: Enhanced Visualization](https://www.emqx.com/en/blog/mqttx-1-11-1-release-notes) ([Edit](https://github.com/emqx/blog/blob/main/en/202412/mqttx-1-11-1-release-notes.md))
- [MQTTX 1.11.0 Released: Topic Tree and Avro Schema](https://www.emqx.com/en/blog/mqttx-1-11-0-release-notes) ([Edit](https://github.com/emqx/blog/blob/main/en/202410/mqttx-1-11-0-release-notes.md))
- [MQTTX 1.10.1 Released: One-Click CLI Installation via Desktop](https://www.emqx.com/en/blog/mqttx-1-10-1-release-notes) ([Edit](https://github.com/emqx/blog/blob/main/en/202407/mqttx-1-10-1-release-notes.md))
- [MQTTX Web Online Site Migration Announcement](https://www.emqx.com/en/blog/mqttx-web-migration-announcement) ([Edit](https://github.com/emqx/blog/blob/main/en/202406/mqttx-web-migration-announcement.md))
Expand Down
157 changes: 157 additions & 0 deletions en/202412/mqttx-1-11-1-release-notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
We are pleased to announce the official release of MQTTX version 1.11.1. This release enhances MQTTX's visualization capabilities with improved Topic Tree features and real-time traffic monitoring. The new traffic rate monitoring feature provides users with real-time packet tracking, and the Topic Tree now supports manual synchronization with connection lists and MQTT properties display. Additionally, we've resolved critical message rendering issues in the Desktop client to ensure a more stable experience.

> Download the latest version here: [https://mqttx.app/downloads](https://mqttx.app/downloads)
## Synchronize Connection Data to Topic Tree

MQTTX now provides bi-directional synchronization between the Topic Tree and connection message list. While new messages are automatically reflected in the Topic Tree, users can manually synchronize historical messages from connections. This can be done in two ways:

![Topic Tree](https://assets.emqx.com/images/fb08422338b9aacfa27f900153a4572c.png)

**From Connection Page**

- Access the dropdown menu in the upper right corner and select "Sync Topic Tree".

- Once confirmed, historical messages from the current connection will be automatically converted into the Topic Tree structure.

![image 1](https://assets.emqx.com/images/d29b5b54f25b6b450f43497a2c700f6a.png)

**From Topic Tree View**

- Click "Sync Connection Data" in the upper right corner dropdown menu.

- Select the connection to synchronize.

- The Topic Tree will update to display the synchronized data.

![image 2](https://assets.emqx.com/images/fa7dfec0ad8ee8db0e1e7cce8115518f.png)

## Traffic Monitor in Viewer

We've enhanced MQTT traffic monitoring by relocating the bytes statistics function to the Viewer menu as "Traffic Monitor" while adding new rate monitoring capabilities. This feature automatically calculates total traffic volume and rates based on historical messages in connection records, providing deeper insights into your MQTT traffic patterns.

**Quick Access**

- Click the traffic monitor icon in the connection page's upper right corner.
- Navigate through `Viewer` -> `Traffic Monitor` in the left menu bar.

When accessing from the connection page, MQTTX automatically subscribes to the `$SYS/#` system topic. A manual subscription is required for direct menu access.

**Key Features**

- Automatic rate calculation from connection message history.
- Connection selector for monitoring multiple connections.
- Flexible time range selection.
- Comprehensive statistics, including both accumulated values and real-time rates.

**Statistics Display**

- **Accumulated Values**: View total bytes with trend visualization.

![Accumulated Values](https://assets.emqx.com/images/4d12ca750d7b45362fcf2ad2ed15e7d0.png)

- **Rate Statistics**: Monitor current send/receive rates with time-based averages and real-time packet synchronization.

![Rate Statistics](https://assets.emqx.com/images/dbc6eb6919ad7d5b77fb26d935080eb1.png)

> Note: EMQX by default restricts $SYS topic subscription to localhost clients only. For remote access, ACL rule modifications are required. Please refer to [EMQX documentation](https://docs.emqx.com/en/emqx/latest/access-control/authz/authz.html) for configuration details.
## Connection Selection in Collapsed Mode

We've added a connection selector dropdown in the main view when the left sidebar is collapsed. This enhancement allows users to quickly switch between connections without expanding the connection list, improving workspace efficiency by maintaining easy connection access while maximizing the message viewing area.

![MQTTX](https://assets.emqx.com/images/53a643fc60c5b6a65b86c332f6e2e811.png)

## CLI Line Mode Enhancement

We've streamlined the CLI's multi-line message publishing by introducing `--line-mode` (`-lm`), which simplifies the previously confusing combination of `--stdin` (`-s`) and `--message-by-message` (`-M`) options. While maintaining all existing functionality, this update makes the CLI more intuitive.

**Improvements**

- The new `-line-mode` option replaces the need to combine `s` and `M`.
- Enhanced pipeline support for better integration with Unix-like systems.
- Optimized logging display for multi-line data.
- Fixed display issues when reading files with `s` and `M` options.

**Usage Example**

```shell
# New simplified way
mqttx pub -t "hello" -lm
hello # Sends immediately
world # Each line as separate message
<Ctrl+C> # End input

# Previous method (still supported)
mqttx pub -t 'hello' -s -M
```

You can also leverage the previous `--stdin (-s)` and `--multiline (-M)` options to enable more versatile data input methods:

```shell
# Single message from echo
echo "hello world" | mqttx pub -t "test" -s

# File content as one message
cat message.txt | mqttx pub -t "test" -s

# File content as separate messages (line by line)
cat message.txt | mqttx pub -t "test" -s -M
# Results in:
# Message1: line1
# Message2: line2
# Message3: line3
```

> Note: For users familiar with -s and -M, these options remain fully functional with improved pipeline support. The new --line-mode option simplifies these operations into a single command.
## **Other Improvements**

### Critical Fixes

- Resolved a significant issue where messages were not properly rendered in the display interface, ensuring reliable message visualization and preventing data loss in the UI.

### Desktop Improvements

- Enhanced Topic Tree functionality with MQTT properties display, providing users with comprehensive message context and metadata visualization.
- Implemented rate limiting for the message send button to prevent accidental message flooding and ensure system stability.
- Enhanced visual elements with:
- Optimized scrollbar style in Topic Tree
- Improved tooltip display timing
- Fixed tooltip overflow in tree visualization
- Resolved unread message count initialization issues

### CLI Enhancements

- Improved benchmark and simulation capabilities with custom client ID support, ensuring unique identifiers for each connection, even in single-connection scenarios.
- Enhanced user experience with clear exit tips for connections, making session management more intuitive.
- Fixed several key issues:
- Configuration override conflicts that affected command behavior.
- Binary file type reception problems.
- Pipeline-related issues affecting multi-line message publishing.

## Roadmap

- **MQTTX 2.0 Refactor** is in progress.
- **Payload Chart Visualization Enhancement - MQTTX Viewer**:
- **Diff View**: Compare different messages or payloads easily.
- **Dashboard View**: Offer a customizable overview of MQTT activities for personalized insights.
- **JSON View**: Improve handling and display of JSON formatted data.
- **System Topic View**: Specialized view for system-related MQTT topics.
- **AMQP Support**: Extending protocol support to include AMQP.
- **Support for Configurable Disconnect Properties (MQTT 5.0)**: Enhance connection management with customizable disconnection settings.
- **IoT Scenario Data Simulation**: Bring this feature to the desktop client to ease IoT scenario testing.
- **Sparkplug B Support**: Extend MQTTX functionalities to include support for Sparkplug B.
- **MQTT GUI Debug Functionality**: New features to aid in debugging MQTT communications.
- **Plugin Functionality**: Introduction of a plugin system supporting protocol extensions like [CoAP](https://www.emqx.com/en/blog/coap-protocol) and [MQTT-SN](https://www.emqx.com/en/blog/connecting-mqtt-sn-devices-using-emqx).
- **JSON Schema**: Encoding and decoding capabilities for JSON Schema.
- **Script Test Automation (Flow)**: Simplify the creation and management of automated testing workflows.



<section class="promotion">
<div>
Try MQTTX for Free
</div>
<a href="https://mqttx.app/downloads" class="button is-gradient">Get Started →</a>
</section>
73 changes: 73 additions & 0 deletions ja/202412/emqx-platform-durable-session.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
近年急速に進化するIoTの世界では、接続を中断させないことが、システムの成功において重要です。スマートシティ、自動運転車、医療機器、産業オートメーションなど、IoTアプリケーションには信頼性、スケーラビリティ、データの整合性が求められます。そこで登場するのが、EMQXプラットフォームの画期的な機能である**Durable Sessions**です。この機能により、ネットワーク環境が不安定な場合でも、IoTシステムを確実に接続された状態に保つことができます。

## なぜDurable SessionsがIoTに重要なのか

IoTの世界は、デバイス、サーバー、アプリケーション間の通信を中心に展開しています。しかし、ネットワークの一時的な障害やサーバーの再起動によってデバイスがオフラインになる場合はどうでしょうか?持続的な接続メカニズムがなければ、貴重なデータが失われたり、デバイスが重要なメッセージを受信できなかったり、アプリケーションがダウンタイムに陥る可能性があります。

**Durable Sessions**を使用すれば、これらの問題を回避できます。この強力な機能は、デバイスが切断されても、セッション情報、未配信のメッセージ、状態を保持します。デバイスが再接続すると、以前の状態から再開できるため、メッセージの喪失や再登録の必要がなく、スムーズなIoT通信が実現します。

## EMQXのDurable Sessionsの特長

EMQXプラットフォームは、以下の主要な機能を提供することで**Durable Sessions**の利便性をさらに向上させています。

- **途切れない通信:** Wi-FiやLTE信号の喪失、サーバーの再起動など、デバイスが一時的に切断されても、IoTデバイスが継続的に動作を続けられるようにします。
- **状態の保存:** 切断後にデバイスが再初期化や再登録を行う必要がありません。ブローカーがセッション情報を保持し、デバイスが元の状態を引き継げます。
- **データの継続性:** Durable Sessionsにより、デバイスが切断中に重要なメッセージを受信し損ねることがなくなります。再接続時にこれらのメッセージがキューから配信されます。
- **スケーラビリティと柔軟性:** 数百台から数百万台のデバイスを管理する場合でも、EMQXはスムーズで効率的なセッション管理を提供し、パフォーマンスを損なうことなく規模を拡大できます。

## Durable Sessionsの仕組み

1. **セッションの確立:** デバイスがEMQXに「Clean Session」フラグを**false**に設定して接続すると、**Durable Session**が作成されます。この設定により、デバイスが切断された後も、ブローカーはセッション情報(サブスクリプションや未配信のメッセージなど)を保持します。
2. **状態の維持:** 切断中でも、EMQXブローカーはクライアントのセッション状態を保持し、すべてのサブスクリプションと保留メッセージを保存します。
3. **メッセージのキューイング:** デバイスがオフラインの間、ブローカーはそのデバイスに宛てたメッセージをキューに保管します。これにより、データの損失を防ぎます。
4. **再接続:** デバイスが再接続すると、セッションを再開し、切断中にキューに保存されていたメッセージを受信します。このプロセスは、クライアント側での手動操作や複雑なロジックなしに行われます。
5. **セッションの有効期限管理:** リソースの最適化のため、セッションの有効期限を設定できます。これにより、指定された期間活動がないセッションを自動的にクリアし、大規模なIoT展開で効率的なリソース管理が可能になります。

## Durable SessionsがIoTシステムにもたらす主な利点

### ミッションクリティカルなアプリケーション向けの信頼性向上

自動車業界、医療、産業オートメーションなどでは、わずかなダウンタイムでも大きな影響を与える可能性があります。**Durable Sessions**は、いかなる状況でも通信を継続し、ダウンタイムのリスクを最小限に抑えます。

### データ整合性の向上

データはIoTアプリケーションの生命線です。**Durable Sessions**により、接続の問題による重要な情報の喪失が防止されます。ブローカーはデバイスが受信し損ねたメッセージを保存し、接続が回復次第それらを配信します。

### 開発と保守の簡略化

接続状態を管理するIoTシステムを構築するのは、複雑で時間のかかる作業です。**Durable Sessions**は、セッションの永続性、メッセージの配信、再接続を自動的に処理し、アプリケーションロジックを簡素化し、開発の負担を軽減します。

### リソース利用の最適化

断続的に接続される環境で動作するデバイスにとって、接続が切れるたびにデータを再送信する必要がなくなるため、**Durable Sessions**は帯域幅の使用とデバイスのパフォーマンスを最適化します。特にリモート環境でバッテリー駆動のデバイスにとって有益です。

## 業界ごとの活用例:Durable Sessionsの恩恵

### 自動車

ネットワークカバレッジが変化するエリアを移動する車両にとって、**Durable Sessions**は接続を途切れさせません。これにより、連続的なテレメトリデータの送信やリアルタイムの更新が、低カバレッジエリアでも可能になります。

### 産業オートメーション

スマート工場では、接続が不安定な厳しい環境下で機器が動作することがよくあります。**Durable Sessions**は接続障害が発生してもデータフローを維持し、運用の継続性を確保します。

### 医療

医療分野では、患者の健康を監視する医療機器がネットワークの問題で重要なデータを失うことは許されません。**Durable Sessions**は、すべての重要なデータが確実に配信され、患者の安全を守ります。

## Durable Sessionsを体験してみませんか?

EMQXの**Durable Sessions**を利用すれば、さまざまな業界の企業が、IoTアプリケーションを安心してスケールアップできます。セッション状態の保持、メッセージのキューイング、シームレスな再接続が可能になり、IoTアプリケーションの運用が現実の世界でどのように変革されるかを実感できます。

ネットワークの不安定さや切断に悩まされることなく、**Durable Sessions**を活用して、デバイスを接続状態に保ち、データを保護し、システムのパフォーマンスを最大化しましょう。

今すぐ[EMQXプラットフォーム](https://www.emqx.com/ja/cloud)**Durable Sessions**をお試しください。この革新的な機能で、IoT運用を次のレベルに引き上げましょう。



<section class="promotion">
<div>
専門家と話します
</div>
<a href="https://www.emqx.com/ja/contact?product=solutions" class="button is-gradient">お問い合わせ →</a>
</section>

0 comments on commit 92508c3

Please sign in to comment.