Skip to content
ℕ𝔸𝕊𝔸™ℕ𝕒𝕤𝕒𝕣𝕖™𝕊𝕡𝕒𝕔𝕖𝕏™ https://nasa.re/

Nasare™🚀

フレッシュ スペース & テクノロジー NEWS📢

  • About 𝒩𝒶𝓈𝒶𝓇𝑒™
  • SMART Tools
  • SMART AI
    • Kubeshark PCAP Export/Import
    • Coaching engineering managers to employ on organizational issues
    • Zelda: Hyperlink’s Awakening game engine documentation (2021)
    • Commercial Resupply Services-CRS
  • Show HN
    • WINd3x、iPod Bootrom エクスプロイトは 10 年遅かった
    • Just by Notでプログラミングするシステム オブジェクト指向プログラミングの活用
    • 主な BGP 増加をレジデンス Windows デスクトップに追加する
    • ガジェットの複雑さが増し、余分な IP の再利用が促進される
    • 新しい GitHub CLI 拡張インストゥルメント
    • Kubernetes を 7,500 ノードにスケーリング (2021 年)
    • Wander アプリ用の軽量なオンザフリット構成ライブラリ
    • Ask HN
      • Declare HN: I wrote a WebAssembly Interpreter and Toolkit in C
      • Describe HN: Kandria, an action RPG made in Frequent Voice, is now out
      • Demonstrate HN: ClickHouse-local – a runt instrument for serverless files analytics
      • Brand HN: Motion photographs Watchlist Chrome Extension
      • Existing HN: Connmap – Desktop widget that reveals your TCP company on an international diagram
      • Level to HN: An initiate source tool to generate Jet Engine compressors
      • Insist HN: Ov – characteristic smartly off terminal pager
      • Level to HN: Graphic-Walker – A special kind of originate-offer different to Tableau
      • Level to HN: A corpulent game of snake encoded in a url
      • Point out HN: Kweb: A a ways away interface to the earn browser’s DOM
      • Present HN: Nanelo DNS – Privacy-Kindly, European Nameservers
      • Reward HN: Vim on-line editor the exercise of WebAssembly, storing files the exercise of IndexedDB
      • Show HN: AREnets – TensorFlow-basically based mostly Relation Extraction equipment for work in Colab
      • Speak HN: What sub $200 product improved HN readers’ 2022
      • Uncover HN: Easy internet app for teenagers to management a single Philips Hue light
      • Advise HN: Daft Art – an album veil maker powered by AI and curated aesthetics
    • Show HN
      • Reward HN: Vim on-line editor the exercise of WebAssembly, storing files the exercise of IndexedDB
      • Android phones will at the moment obtain iPhone-love SOS satellite texting
      • Demonstrate HN: ClickHouse-local – a runt instrument for serverless files analytics
      • Show HN: AREnets – TensorFlow-basically based mostly Relation Extraction equipment for work in Colab
      • Present HN: Nanelo DNS – Privacy-Kindly, European Nameservers
      • Insist HN: Ov – characteristic smartly off terminal pager
      • Level to HN: An initiate source tool to generate Jet Engine compressors
      • Speak HN: What sub $200 product improved HN readers’ 2022
      • Advise HN: Daft Art – an album veil maker powered by AI and curated aesthetics
      • Uncover HN: Easy internet app for teenagers to management a single Philips Hue light
      • Level to HN: A corpulent game of snake encoded in a url
    • Brand HN: Motion photographs Watchlist Chrome Extension
    • Existing HN: Connmap – Desktop widget that reveals your TCP company on an international diagram
    • Point out HN: Kweb: A a ways away interface to the earn browser’s DOM
    • Declare HN: I wrote a WebAssembly Interpreter and Toolkit in C
    • Tag HN: Using Key-Value Retail outlets in Serverless Codehooks.io Applications
    • Declare HN: I wrote a WebAssembly Interpreter and Toolkit in C
    • Point out HN: Kweb: A a ways away interface to the earn browser’s DOM
    • Existing HN: Connmap – Desktop widget that reveals your TCP company on an international diagram
    • Brand HN: Motion photographs Watchlist Chrome Extension
    • Level to HN: A corpulent game of snake encoded in a url
    • Uncover HN: Easy internet app for teenagers to management a single Philips Hue light
    • Advise HN: Daft Art – an album veil maker powered by AI and curated aesthetics
    • Speak HN: What sub $200 product improved HN readers’ 2022
    • Level to HN: An initiate source tool to generate Jet Engine compressors
    • Level to HN: Graphic-Walker – A special kind of originate-offer different to Tableau
    • Insist HN: Ov – characteristic smartly off terminal pager
    • Present HN: Nanelo DNS – Privacy-Kindly, European Nameservers
    • Show HN: AREnets – TensorFlow-basically based mostly Relation Extraction equipment for work in Colab
    • Demonstrate HN: ClickHouse-local – a runt instrument for serverless files analytics
    • Reward HN: Vim on-line editor the exercise of WebAssembly, storing files the exercise of IndexedDB
  • A Computer virus and a Dilemma
    • OCIS – OwnCloud Countless Scale
    • A Princeton student built an app which is ready to detect if ChatGPT wrote an essay
    • GitHub Is Sued, and We Would possibly perhaps Learn Something About Creative Commons Licensing
    • Adobe’s Command material analysis can be using photos/videos to narrate AI w/o consent
    • Ultralearning a.k.a. how I learned to code
    • Automatic1111 is assist on GitHub after taking away Embedding Links
    • Where Your Sides Came From
    • What Is a Pig Butchering Rip-off?
    • Submit-processing is ruining iPhone photos
    • Clos Topologies and Centralized Retain a watch on in Google’s Datacenter Community
    • Miller Engineering DS-1 House Planetarium
    • Gimel Studio: Non-harmful, 2D image editor
  • Technology
    • Miller Engineering DS-1 House Planetarium
    • Apple Doctors: to construct it as a file it is advisable to electronic mail it to your self
    • The Air India passenger who urinated on a girl has been fired by Wells Fargo
    • The Filesystem Hierarchy Usual Comes to Guix Containers
    • Sooner than it sued Google for copying from Java, Oracle changed into as soon as copying IBM’s SQL (2020)
    • The i3-gaps mission has been merged with i3
    • Making an Alphorn from Scratch
    • Apple: Braille Individual Guides
    • MotherDuck Is a Original Thought
    • The class of CGI and simple make
    • Like a mercurial tour of DragonFly BSD 6.4?
    • computer science
    • AI
    • Artificial intelligence
    • Technology
    • Ai
    • Apple
    • digital
  • TOP HN
    • anti-Mastodon
    • TOP HN
      • Show HN
      • Ask HN
      • coding
      • ガジェットの複雑さが増し、余分な IP の再利用が促進される
      • 新しい GitHub CLI 拡張インストゥルメント
      • Kubernetes を 7,500 ノードにスケーリング (2021 年)
      • Just by Notでプログラミングするシステム オブジェクト指向プログラミングの活用
      • Describe HN: Kandria, an action RPG made in Frequent Voice, is now out
      • WINd3x、iPod Bootrom エクスプロイトは 10 年遅かった
      • Wander アプリ用の軽量なオンザフリット構成ライブラリ
      • Artificial intelligence
      • 主な BGP 増加をレジデンス Windows デスクトップに追加する
      • Technology
      • Level to HN: Graphic-Walker – A special kind of originate-offer different to Tableau
      • Declare HN: I wrote a WebAssembly Interpreter and Toolkit in C
      • Point out HN: Kweb: A a ways away interface to the earn browser’s DOM
      • Existing HN: Connmap – Desktop widget that reveals your TCP company on an international diagram
      • Advise HN: Daft Art – an album veil maker powered by AI and curated aesthetics
      • Brand HN: Motion photographs Watchlist Chrome Extension
      • Declare HN: I wrote a WebAssembly Interpreter and Toolkit in C
      • Demonstrate HN: ClickHouse-local – a runt instrument for serverless files analytics
      • Describe HN: Kandria, an action RPG made in Frequent Voice, is now out
      • Existing HN: Connmap – Desktop widget that reveals your TCP company on an international diagram
      • Insist HN: Ov – characteristic smartly off terminal pager
      • Just by Notでプログラミングするシステム オブジェクト指向プログラミングの活用
      • Kubernetes を 7,500 ノードにスケーリング (2021 年)
      • Level to HN: A corpulent game of snake encoded in a url
      • Level to HN: An initiate source tool to generate Jet Engine compressors
      • Level to HN: Graphic-Walker – A special kind of originate-offer different to Tableau
      • Point out HN: Kweb: A a ways away interface to the earn browser’s DOM
      • Present HN: Nanelo DNS – Privacy-Kindly, European Nameservers
      • Reward HN: Vim on-line editor the exercise of WebAssembly, storing files the exercise of IndexedDB
      • Show HN: AREnets – TensorFlow-basically based mostly Relation Extraction equipment for work in Colab
      • Speak HN: What sub $200 product improved HN readers’ 2022
      • Uncover HN: Easy internet app for teenagers to management a single Philips Hue light
      • Wander アプリ用の軽量なオンザフリット構成ライブラリ
      • WINd3x、iPod Bootrom エクスプロイトは 10 年遅かった
      • ガジェットの複雑さが増し、余分な IP の再利用が促進される
      • 主な BGP 増加をレジデンス Windows デスクトップに追加する
      • 新しい GitHub CLI 拡張インストゥルメント
      • ロンドンで*ダウン*を継続的に見つめる: Pavement Oddities
      • 報酬 HN: C の 30 行でスピンロック
      • FAA の NOTAM とは何ですか? 航空専門家が機械の仕組みを説明
      • ナノGPT
      • 1 ビット LCD のグレースケール (2022)
      • The Muse (YC W12) は FP&A のシニア ディレクターを採用しています
      • Zen (YC S21) はグロース エンジニアを採用しています
      • Tall Inquire of (YC W21) が B2B 回顧録の幹部を採用
      • Actiondesk (YC S19) は、プロダクト ドレスメーカーを採用しています (4-6 か月の契約)
      • Oven (YC S19) は、Bun を作成するために C/C++ または Zig エンジニアを採用しています。
      • WInd3x, the iPod Bootrom exploit 10 years too unhurried
      • Sign HN: FASTA recordsdata を操作するための FUSE モジュール
      • HN を指します: Socketify.py: PyPy3 および Python3 用の Http/Https および WebSocket サーバー
      • Wage Development Continues to Gradual in the UK and Euro House
      • Stage Supervisor for the unimpressed: 1 Getting started
      • First public free up of Pushup: a brand unique compiler for making net apps in Trip
      • Fixing Cart-Pole Swingup with a Hierarchical Controller
      • Flight Testing the Touchdown Radar for Mars Science Laboratory 2011-06-21T17:36:36Z
      • Flightcontrol (YC W22) is hiring first Developer Recommend
      • Flying boats and other tech for cleaner shipping
      • Four Finalist Touchdown Location Candidates for Mars Science Laboratory 2008-11-19T16:21:01Z
      • France’s prized nuclear sector stalled in Europe’s hour of want
      • French startup unveils new residential thermo-acoustic warmth pump
      • FTC Cracks Down on Firms That Impose Contaminated Noncompete Restrictions
      • FTX’s Aged Prime Lawyer Aided US Authorities in Bankman-Fried Case
      • FY18 NASA lėšų šnypštimas 2017-05-22T00:00:00Z
      • G-3PO: A protocol droid for Ghidra, or GPT-3 for reverse-engineering
      • Gail.com FAQ
      • Gemini-Titan (GT)-6 – Gemini 6 of 7 – 지역 사진 – 외부 지역 1965-12-15T00:00:00Z
      • Geoffrey Hinton Publishes Original Deep Learning Algorithm
      • Germany warns: AI fingers flee already underway (2021)
      • Gimel Studio: Non-harmful, 2D image editor
      • GitHub Availability File
      • GitHub Is Sued, and We Would possibly perhaps Learn Something About Creative Commons Licensing
      • Google needs RISC-V to be a “tier-1” Android architecture
      • Google researcher, lengthy out of math, cracks devilish dispute about gadgets
      • Google start sourced CDC File Transfer from the ashes of Stadia
      • GRC-2003-C-02097 2004-05-01T00:00:00Z
      • GRC-2013-C-05246 2009-11-26T00:00:00Z
      • Hello world!
      • Highlights of Science Launching on SpaceX CRS-15 2018-06-24T00:00:00Z
      • Hilf Al-Fudul
      • HiOperator (YC S16) Is Hiring VP of Engineering
      • HN を指します: Socketify.py: PyPy3 および Python3 用の Http/Https および WebSocket サーバー
      • How kind I blueprint a pair of buttocks?
      • How will the haj switch as international temperatures upward thrust?
      • Human gene linked to bigger brains turned into as soon as born from apparently pointless DNA
      • Hundreds of scientists publish a paper every 5 days
      • In Favor of Friction and Flexibility
      • Indicate HN: Klotho – Change into straightforward code into cloud native code
      • Indoor farming isn’t exact for the smartly off
      • Iranian assault drone came across to have parts from more than a dozen US companies
      • Israeli researcher experiences leak of 235M Twitter-linked e-mail addresses
      • Jam Stations in Low Earth Orbit
      • Jazz Is Freedom
      • JPL-20171102-TECHf-0001-ドローントリップ 人間vs機械 2017-11-17T00:00:00Z
      • JPL에서 NASA의 MSI 콘도미니엄 액셀러레이터 2022-08-25T00:00:00Z
      • JPSO extinct facial recognition abilities to arrest a man. The tech modified into once defective
      • jsc2017e136097 – 12 月 4 日,俄罗斯联邦地区公司 (Roscosmos) 的远征 54-55 号机组人员 Anton Shkaplerov 在俄罗斯 Principal person City 的加加林宇航员训练中心上向整洁的祝福者挥手致意,当时他登上了前往附近的 Chkalovsky Ai 的公共汽车2017-12-04T00:00:00Z
      • Kemble’s Cascade of Stars
      • Kepler-90 マシン (アーティストの考え) 2017-12-14T00:00:00Z
      • Koichi Wakata SpaceX 코칭 2022-06-27T00:00:00Z
      • KSC and Proud to Be Heart-Wide Diversity Tournament 2019-08-20T00:00:00Z
      • KSC ir „Proud to Be Center“ įvairovės turnyras 2019-08-20T00:00:00Z
      • AI
      • Artificial intelligence
      • Auto-Generate
      • anti-Mastodon
      • Awesome
      • BioSentinel
      • CATEGORIES
      • DC
      • Dione
      • Diversity
      • drone racing
      • drones
      • Dulles
      • education
      • Event
      • filmstock
      • Goddard
      • AI
      • Ask HN
      • autonomous
      • coding
      • computer science
      • Clusters
      • Artificial intelligence
        • Ai
        • Apple
        • Tesla
        • digital
        • MESSENGER
        • Device
        • Charts
        • change
        • Shows
        • fraud
        • Former
        • fucking
        • purge
        • Works
        • entering
        • Databases
        • Review
        • Strangely
        • Instinct
        • staff
        • Salesforce
        • intern
        • Involuntary
        • promise
        • Twilio’s
        • nisv live
        • attack
        • Iranian
        • France’s
        • prized
        • infrastructure
        • Debian-based
        • nisv s02 ep03
        • siduction
        • Awesome
        • Calculate
        • Beautiful
        • Linux
        • Start
        • dollar
        • Messier
        • Daughters
        • ‘Breakthrough’
        • obesity
        • Al-Fudul
        • sixty years
        • PyTorch
        • discloses
        • Ancient
        • Stone
        • Popup
        • design
        • public
        • expanding
        • cloud
        • forest
        • startup
        • French
        • batteries
        • fleas
        • spotted
        • Petals
        • language
        • Habitual
        • checking
        • GitHub
        • Availability
        • layers
        • inconsistencies
        • Affair
        • Quasi-War
        • Sergey
        • Irate
        • bestseller
        • necessarily
        • Scientists
        • Titan
        • twitch
        • FGS/NIRISS – Fine Guidance Sensor/Near InfraRed Imager and Slitless Spectrograph
        • infrared
        • ISIM – Integrated Science Instrument Module
        • JHU – Johns Hopkins University
        • JWST – James Webb Space Telescope
        • JWST – James Webb Space Telescope
        • absolute zero
        • Big Bang
        • Peace
        • Studio
        • Making
        • project
        • -gaps
        • warns
        • Germany
        • Braille
        • MotherDuck
        • prototype
        • Challenges
        • Infinite
        • OwnCloud
        • Novel
        • Before
        • copying
        • California
        • getting
        • States
        • Criminal
        • Brother
        • Released
        • Method
        • owners
        • ‘richsession’
        • email
        • Elements
        • Where
        • passenger
        • Hierarchy
        • Filesystem
        • economic
        • Crew Dragon
        • Bridenstine
        • Scientific
        • Heaviosity
        • Patterns
        • Unexpected
        • minimalist
        • Ecode
        • Alpha
        • Wolfram
        • Tailwind
        • HiOperator
        • Klotho
        • TEAMS
        • ROBOTICS
        • Antelope
        • Sponsors
        • Ellen Gertsen
        • Transform
        • Flightcontrol
        • subscriptions
        • Internet
        • Theory-building
        • you’re
        • looking
        • Transfer
        • error’
        • Tails
        • migrate
        • Building
        • Bitmovin
        • Remote
        • PhotoRoom
        • Company
        • Taking
        • Ribbon
        • BibDesk
        • Android
        • profilers
        • phones
        • modern
        • Mastercard
        • private
        • We’ve
        • reportedly
        • Microsoft
        • Artsy
        • trades
        • skilled
        • Polygon
        • Flying
        • Princeton
        • Codemods
        • Coaching
        • UK’s
        • popping
        • sourced
        • Wikipedia
        • admin
        • Indoor
        • quick
        • Mysterious
        • Spotify
        • Fancy
        • Spotify
        • Weird
        • mail-order
        • Recipients
        • computer
        • optics
        • partnership
        • commercial
        • telemetry
        • Crisis
        • billionaire
        • Party
        • Onelab
        • Faster
        • general
        • Adobe’s
        • database
        • FinanceDatabase
        • Numerical
        • Freedom
        • concrete
        • Stacks
        • computer science
        • NASA
    • Show HN
    • Ask HN
    • Technology
    • computer science
    • coding
    • Clusters
    • AI
    • drones
    • autonomous
    • Auto-Generate
    • Ask HN
    • Show HN
    • The SMART Science™
    • google
  • CRYPTO
    • Blockchain
    • farming
    • Billionaires
    • FTX’s
    • FinanceDatabase: A database of 300.000 symbols (ETFs, Currencies, Crypto)
  • Artificial intelligence
  • Toggle search form
  • WhatsApp Handiest が 9 億人のユーザーのために 50 人のエンジニアを必要とする理由
    WhatsApp Handiest が 9 億人のユーザーのために 50 人のエンジニアを必要とする理由 anti-Mastodon
  • PRQL の 1 年 – リレーショナル レコードの現代的な言語
    PRQL の 1 年 – リレーショナル レコードの現代的な言語 anti-Mastodon
  • FLEDGE の𝑘-匿名性サーバーの Fastly–Oblivious HTTP リレーと提携
    FLEDGE の𝑘-匿名性サーバーの Fastly–Oblivious HTTP リレーと提携 Artificial intelligence
  • Mumble HN: GPT を使用したきちんとした契約の科学的医師
    Mumble HN: GPT を使用したきちんとした契約の科学的医師 Awesome
  • Coaching engineering managers to employ on organizational issues
    Coaching engineering managers to employ on organizational issues NASA
  • Expose HN: Waldo レッスン: Bustle、Locate、Part モバイル クラスをブラウザーから
    Expose HN: Waldo レッスン: Bustle、Locate、Part モバイル クラスをブラウザーから Awesome
  • Scamp – 自己完結型の Forth コンピューター
    Scamp – 自己完結型の Forth コンピューター Artificial intelligence
  • Location Science 1992-03-24T00:00:00Z
    Location Science 1992-03-24T00:00:00Z NASA
  • 金曜日の S&P 500 の巨大な調整は、指数サービスのエネルギーを浮き彫りにします
    金曜日の S&P 500 の巨大な調整は、指数サービスのエネルギーを浮き彫りにします anti-Mastodon
  • 교육 – 우주비행사 글렌, 존 – 항공 의학 연구소 – 케이프 1961-08-17T00:00:00Z
    교육 – 우주비행사 글렌, 존 – 항공 의학 연구소 – 케이프 1961-08-17T00:00:00Z Ask HN
  • 再利用可能でカプセル化された UI システムを構築するための「Put Hoisting」
    再利用可能でカプセル化された UI システムを構築するための「Put Hoisting」 “Space
  • Glimpse Meta のエンジニアが大規模ネットワークの最適化について語る
    Glimpse Meta のエンジニアが大規模ネットワークの最適化について語る anti-Mastodon
  • アクティビティ パブと Web フレームワーク
    アクティビティ パブと Web フレームワーク activity
  • Covid-19後の状態の米国の成人における1年から1年の好ましくない結果
    Covid-19後の状態の米国の成人における1年から1年の好ましくない結果 Adverse
  • Web レンダリング パターン
    Web レンダリング パターン Artificial intelligence
MQTT 対 Kafka: IoT Suggest のビューのレベル

MQTT 対 Kafka: IoT Suggest のビューのレベル

Posted on March 14, 2023 By 📢 𝔹𝕚𝕟𝕘™

By Jay Clifford / 2022 年 4 月 20 日 / 近所、IoT、開発者

カフカ・サミットが急速に近づいてきたので、手を汚してすべてを理解する時が来たと思いましただいたい。 IoT の推奨事項として、Kafka について聞いたことがありますが、以前は複雑なプロトコル MQTT に組み込まれすぎて、比較することができませんでした。 初心者 (ファンシー・ミー) にとって、各プロトコルは、事実上競合しなければ、非常に同一に見えます。 あるいは、これはケースの工夫であり、実際には多くの条件で互いに補完し合っていることがわかりました. この一連のブログでは、Kafka と MQTT とは何か、そしてそれぞれが IoT 構造に適合する仕組みについて要約したいと思います。 アイデアの間で主張をサポートするために、過去のシナリオを利用することは一見意図的に見えるかもしれないと思いました: monitoring-emergency fuel generatorsmonitoring-emergency fuel generators

以内 以前のウェブログ で、非常用ガソリン発電機の画面を表示したいシナリオについて説明しました。 InfluxDB Python クライアント ライブラリを使用してシミュレーターを作成し、ジェネレーターのレコードデータを InfluxDB Cloud に送信しました。 このブログでは、特にそのシミュレーターを再利用しますが、クライアント ライブラリを MQTT パブリッシャーと Kafka プロデューサーに置き換えて、それぞれのサポート内のコア メカニクスを指定します

このデモ のコードは、ここ

から取得できるようです。 .

    基礎を固める カフカって何? Kafka は、トーナメント ストリーミング プラットフォームとして説明されています。 これは、レコードデータの永続性が追加されたパブリッシャー – サブスクライバー構造に準拠しています (より多くの基本事項を指定するには、この

      のウェブログ を比較してください)。 ))。 Kafka はさらに、IoT セクターの長さに対していくつかのかなり大きな利点を促進します:

    • 過剰なスループット
        )

      1. 過剰な可用性
        1. スマートに診断されたサード セレブレーション プラットフォームへのコネクタ
          だから、なぜ私はもうKafka を使用して IoT プラットフォーム全体を合法的に作成できますか? うまくいけば、すべての流行はいくつかの重要な懸念事項に要約されます:

          1. Kafka は、実際のインフラストラクチャを展開する実際のネットワーク用に構築されています
              Aid-Alive に似た重要な記録データ供給の側面を展開しなくなりましたand Final Will

              1. 以上のことを述べた上で、長い歴史を持つ Kafka プロデューサーの作成の実装を比較し、それを MQTT パブリッシャーと比較してコンテキストの長さを比較してみましょう。非常用発電機のデモ: demo 前提条件: このデモの機能については、Mosquitto MQTT Dealer と合流プラットフォーム (カフカ)。 ここでは予備的な作成/セットアップを隠蔽するつもりはありませんが、おそらくこれらの指示を適宜参照するように見えるかもしれません:

                1. 蚊取り屋 demo

                  コンフルエント (オンプレミスのセットアップで身動きが取れなくなるよりも早く、Confluent Cloud の無料試用版を使用して、Kafka があなたに適しているかどうかを比較することを強くお勧めします)

        初期化 MQTT パブリッシャーと Kafka プロデューサーの初期化から始めましょう: MQTT MQTT 作成者の最小要件 (セキュリティを省略) ) 以下の通り:

        1. ホスト: Mosquitto サーバーをホストするプラットフォームのハンドル/IP
          • ポート: MQTT プロデューサーが参照するポート。 最も継続的に確立された接続の場合は 1883、TLS は 8883 です。
                Aid Alive Interval: 通信間隔 (秒単位)

            self.client.connect(ホスト=self.mqttBroker、ポート=self.port、キープアライブ=MQTT_KEEPALIVE_INTERVAL) カフカ Kafka に到達したとき、バックグラウンド作業がほとんどなくなりました。 2 つのさまざまな Kafka エンティティへの接続を配置する必要がありました:

        2. Kafka クラスター: ペイロードをここに送信する必要があります
            スキーマ レジストリ: レジストリは、カフカ クラスタ。 トピック スキーマの格納と表示を処理します。 さまざまな言葉で言えば、これによりプロデューサーは、Kafka ユーザーが予期するレイアウトでレコードデータを会話することを余儀なくされます。 これについては後で詳しく説明します。

          それでは、各エンティティへの接続を確立しましょう: スキーマレジストリ schema_registry_conf={‘url’: ‘https://psrc-8vyvr.ecu-central-1.aws.confluent.cloud’, ‘老舗.auth.特定人物.recordsdata ‘:

          : '} schema_registry_client=SchemaRegistryClient(schema_registry_conf)

            内訳:

            1. url: スキーマ レジストリのハンドル。 Confluent は、ホスティング用のレジストリの作成を支援します。

              1. authentication: すべてのリポジトリが大好きで、長年にわたって確立されたセキュリティに対応し、実際のスキーマ設計をサポートします.
                1. Kafkaクラスター self.json_serializer=JSONSerializer(self.schema_str , schema_registry_client, engine_to_dict) self.p=SerializingProducer({ ‘bootstrap.servers’: ‘pkc-41wq6.ecu-west-2.aws.confluent.cloud: 9092’, ‘sasl.mechanism’: ‘PLAIN’, ‘security .protocol’: ‘SASL_SSL’, ‘sasl.username’: ‘######’, ‘sasl.password’: ‘######’, ‘error_cb’: error_cb, ‘key.serializer’: StringSerializer(‘utf_8’), ‘value.serializer’: self.json_serializer })
                   

                  内訳:

                  1. bootstrap.servers: 簡単に、Kafka クラスターをホストする Confluent Cloud へのハンドル部分。 より具体的には、Kafka ディーラーです。 (さらに、Kafka にはブローカーの表記がありますが、トピックごとに異なります)。 Bootstrap は、クラスター内でそのプレゼンスをグローバルに編成するプロデューサーへの参照です。
                    1. sasl.*: 簡単なセキュリティ認証プロトコル。 これらは、Confluent Kafka に接続するための最小要件です。 私たちの全体的な比較にとって趣味ではないので、ここでこれを覆い隠すことはおそらくないように見えるかもしれません.
                      1. error_cb: Kafka のエラー処理を処理します。
                        1. key_serializer: これは、メッセージ キーが内部 Kafka に保存される方法を記述します。 キーは、Kafka がペイロードを処理する方法の非常に主要な部分です。 これについては、次のウェブログの長さのために追加します.
                          1. Fee.serializer: 次に、これをクロークできます。簡単に言えば、プロデューサーが送信する記録データの流行を描写する必要があります。 スキーマ レジストリの定義が非常に重要な理由はここにあります

                              事項とプレゼント MQTT パブリッシャーと Kafka プロデューサーを開始したので、Emergency generator recordsdata を出荷する時が来ました。 これを作成するために、各プロトコルは、提供よりも早くトピックとレコードのデータ準備を必要とします: MQTT

                              MQTT の世界の内部、トピックは、ペイロード間の論理フィルタリングを確立する UTF-8 文字列です。monitoring-emergency fuel generators トピックタイトル ペイロード 温度 36 ガソリン 400

                              の このシーケンスの割り当て 2 では、MQTT と Kafka のサブジェクトの問題の機能とバリエーションをさらに掘り下げます。材料。 今のところ、1 つのトピックを配置して、すべての緊急発生装置の記録データを送信します (ここではもはや教育的な実践ではありませんが、このミッションの複雑な起源の中で論理的です)。

                               メッセージ=json.dumps(recordsdata) self.client.put up(topic="emergency_generator "、 メッセージ)

                              MQTTペイロードの提供の長さについて問題を提起するために、近所にいるという助けがあります。 トピックが既に存在する場合、ペイロードは確立されたトピックにディスパッチされるだけです。 存在しない場合、トピックが作成されます。 これにより、コードはかなり単純になります。 トピックのタイトルと、出荷を予定している JSON 文字列について説明します。 デフォルトの MQTT ペイロードは非常に柔軟ですが、これには利点と欠点があります。 特定の側面では、recordsdata の厳密なスキーマ タイプを明確にする必要がなくなりました。 一方では、標準から外れて転落する着信メッセージを管理するのに十分な堅牢な加入者に依存しています. カフカ

                                認めざるを得ないので、私は、Kafka の手法で JSON ペイロードを送信すると、 put up() と同じくらい簡単です。 私はかつてどれほど欠陥があったでしょう! それを通り抜けましょう:

                                self.schema_str="""{ "$schema": "http://json-schema.org/draft-07/schem a#", "title": "Generator", "description": "ガソリン エンジンがスマートに記録されたデータ", "kind": "object", "properties": { "generatorID": { "description": "ジェネレーターの一意の ID ", "kind": "string" }, "lat": { "description": "latitude", "kind": "quantity" }, "lon": { "description": "longitude", "kind": "量" }, "温度": { "説明": "温度", "種類": "量" }, "張力": { "説明": "張力", "種類": "量" },"ガソリン": { "説明": "ガソリン", "種類": "数量" } }, "必須": }""" schema_registry_conf={'url': 'https://psrc-8vyvr.ecu-central-1.aws.confluent.cloud', '老舗.auth.特定の人物.recordsdata': 環境.フェッチ( 'スキーマ_レジストリ_ログイン')} .confluent.cloud: 9092', 'sasl.mechanism': 'PLAIN', 'security.protocol': 'SASL_SSL', 'sasl.username': 環境.fetch('SASL_USERNAME'), 'sasl.password': 環境.fetch('SASL_PASSWORD'), 'error_cb': error_cb, 'key.serializer': StringSerializer('utf_8'), 'value.serializer': self.json_serializer })
                              チェックリストの最初のプロジェクトは、JSON スキーマを配置することです.JSON スキーマは、 recordsdata の予想される構造。この例では、ou の説明を提示します。 r 発電機メーターの測定値 (温度、張力、ガソリン)、さらにメタデータ (generdatorID、緯度、経度)。 定義の長さを示すために、recordsdata の種類と、各ペイロードで送信する必要がある recordsdata パーツの説明を示します。 スキーマ レジストリへの接続については既に説明しました。 次に、JSON スキーマをレジストリに登録し、JSON シリアライザーを配置します。 これを作成するには、次の 3 つのパラメータが必要です:
                              1. schema_str: 説明したスキーマ アセンブル
                                • schema _registry_client: レジストリに接続するオブジェクト
                                    engine_to_dict: 構築するためのカスタムメイドの機能を書き留めることができる JSON シリアライザJSON レイアウトに変換されるだけのように見える Python 辞書構造体を出力します。
                              その後、シリアル化プロデューサーの初期化の間、json_serializer オブジェクトが含まれます。monitoring-emergency fuel generators レコードデータを出荷するための回り道の仕掛けで、私たちはプロデューサー オブジェクトに名前を付けます: monitoring-emergency fuel generators self.p.fabricate(topic=topic, key=str(uuid4()), value=recordsdata, on_delivery=delivery_report)
                                レコードデータを Kafka クラスターに送信するには:  
                              1. トピックのタイトルを明確にしてください (Kafka ではデフォルトで対象問題のハンドブック生成。 一見、ディーラー/クラスターの長さの設定のテクニックによって、自動生成を許可するようです.
                                  )
                                1. 記録データの特定のキーを組み立てますデータ、私たちが立てようとしているガイドライン (これも私たちのカスタムを通じて処理されます) -作成された機能と現在の凡例 (ペイロードのヒットまたは失敗した供給に関するフィードバックを作成するために定義された機能)
                                  強く型付けされた/スキーマベースのアセンブルの最初の影響は一度: 「うわー、これは手順設計者にサポートするコードの取引と急な学習曲線を残す必要があります。」. インスタンスを適用すると、この工夫により、将来の技術的負債の取引を一見一見一見一見一見すると回避できるように見えることに気付きました.現在の生産者/買物客は、非常に熱烈な目的のレコードデータ構造に準拠するか、現在のスキーマ モデルを生成する必要があります. Kafka クラスターに接続している不正なプロデューサーによって妨げられることなく続行します。 私はおそらくこれを余分な成分のインテリアで覆いますこのブログシーケンスの割り当て 2 可能性が最も高いと結論
                                    それで、私たちは何を完成させましたか? 成功裏に、最も単純化されたファブリケーションで、Kafka プロデューサーと MQTT パブリッシャーを作成して、ジェネレーター レコードデータを送信しました。 額面どおり、Kafka は同じ結果を得るために MQTT よりもセットアップがはるかに複雑に見えるだけのように見えるかもしれません.

                                    このレベルでは、あなたは合法的に見えるかもしれません。 あるいは、Kafka が作成できるものと、それが正確な IoT 構造に展開されているように見える工夫の皮をかろうじて削っただけです。 私は、このシーケンスでさらに 2 つのブログを開くことを考えています:

                                    • 割り当て 2: 私は、カフカに似た、カフカに奇妙な側面の多くをクロークします。主題の問題、スケーラビリティ、サードパーティの統合 (InfluxDB とともに) をより深く精査します。
                                    • 割り当て 3: 学んだことを撤回し、真の IoT ミッションに向けて教育的な実践に従います。 Kafka の MQTT プロキシを使用して、サード セレブレーションの統合をさらに深く掘り下げて、基本的に Kafka インフラストラクチャを最大限に活用できます
                                          それまでは、コードを比較して、ざわざわして、遊んでください。 、そして真っ赤な肉を上げます。 次のブログ (このシーケンスの割り当て 2) 主題の問題を余分な要素で隠します. 𝚆𝚊𝚝𝚌𝚑 𝙽𝙾𝚆 📺

        Advocate's, Artificial intelligence, Ask HN, Kafka, Show HN, Technology, TOP HN Tags:Advocate's, Kafka, Show NH:

        Post navigation

        Previous Post: Evals: OpenAI アイテムを評価するためのフレームワークとベンチマークのレジストリ
        Next Post: Mountpoint – Rust で書かれた S3 用のファイル クライアント (AWS から)

        Related Posts

        • Frosty URIs プロットは変更されなくなりました
          Frosty URIs プロットは変更されなくなりました Artificial intelligence
        • Gossip Glomers: Cruise.io で配布されたテクニックの課題
          Gossip Glomers: Cruise.io で配布されたテクニックの課題 Artificial intelligence
        • 著作権登録運営:AIが生成した主題布を含む作品
          著作権登録運営:AIが生成した主題布を含む作品 Artificial intelligence
        • Mountainous Transformer モデルの推論最適化
          Mountainous Transformer モデルの推論最適化 Artificial intelligence
        • Hilton Motels Loyalty Program Recordsdataが侵害され、370万人の顧客の記録データが販売されました
          Hilton Motels Loyalty Program Recordsdataが侵害され、370万人の顧客の記録データが販売されました Artificial intelligence
        • Docker はオープン ソース組織を削除しています – あなたが理解したいこと
          Docker はオープン ソース組織を削除しています – あなたが理解したいこと Artificial intelligence
        • macOS のハードコーディングされたフォルダ アイコン
          macOS のハードコーディングされたフォルダ アイコン Artificial intelligence
        • 産業用 3D プリンターは微量の有毒ガスを放出し、凝視で発見
          産業用 3D プリンターは微量の有毒ガスを放出し、凝視で発見 Artificial intelligence
        • ESP32 用のギャラガ、パックマン、ドンキーコング エミュレータ
          ESP32 用のギャラガ、パックマン、ドンキーコング エミュレータ Artificial intelligence
        • Memfault (YC W19) がベルリンで最初のプロダクト デザイナーを採用
          Memfault (YC W19) がベルリンで最初のプロダクト デザイナーを採用 Artificial intelligence

        Recent Posts

        • PyPI ウェブログへようこそ
        • Discovering out eBPF – O'Reilly から簡単に入手できる電子ブック
        • '94年からのThey MayおそらくBe Giants「John Henry」Hypercardスタックのネットゲーム
        • サイコロの写真からゲームボーイのROMを取り出す
        • Uncover HN: コモディティ GPU で LLaMA-7B を微調整して、ホールド テキスト エクスプレス マテリアルを消費します

        Recent Comments

        1. robga on Excessive Avenue コーヒーのカフェイン ステージはさまざまで、テストでは
        2. Loic on 行方不明の放射性タブレットは、必死の捜索の後、WA奥地で偶然見つけました
        3. minihat on メタは、標準的な VR e スポーツ Echo Area をシャットダウンします
        4. dafelst on フレーム ポインターの巻き戻しによる Move 実行トレーサーのオーバーヘッドの削減
        5. cloudking on GraphGPT: 構造化されていないテキストの肯定的な素材からのレコードデータ グラフの外挿
        • NASA Science Are living:住所地球日 [第 14 集] 2020-04-22T00:00:00Z
          NASA Science Are living:住所地球日 [第 14 集] 2020-04-22T00:00:00Z Annie Meier
        • The Distance from Info to You in Edge Computing
          The Distance from Info to You in Edge Computing anti-Mastodon
        • Glen Canyon Revealed
          Glen Canyon Revealed Artificial intelligence
        • 地上VLF送信機からのウィスラー波のロケット排気駆動増幅
          地上VLF送信機からのウィスラー波のロケット排気駆動増幅 anti-Mastodon
        • ARM64 Linux ワークステーション
          ARM64 Linux ワークステーション Artificial intelligence
        • PC CPU の出荷台数が 30 年間で最も急激な減少を明らかに
          PC CPU の出荷台数が 30 年間で最も急激な減少を明らかに Artificial intelligence
        • A Computer virus and a Dilemma
          A Computer virus and a Dilemma Technology
        • Twitterは利害関係者をバスの下に押し込みました
          Twitterは利害関係者をバスの下に押し込みました anti-Mastodon
        MAILANON
        2100 MAIL
        SEO
        METAVERSE
        BioLINK
        CRYPTO MINING
        CASINO
        DEFI-TRACKER
        StartApp Network
        RAVES-MONSTER-GAME
        RAVES EXCHANGE
        RAVES NFT
        KVANTA TV

        Copyright © 2023 Nasare™🚀.

        Powered by PressBook News Dark theme