統合アーキテクチャ
Salesforce をほかのすべてとつなぐ。その選択の理由とともに。
私はキャリアを通じてずっと統合に関わってきており、Salesforce でも統合は私の得意分野です。このシリーズでは、どのアプローチをなぜ選ぶのかについてアーキテクトの視点を共有し、製品とパターンの概要から、具体的なコード例へと進みます。
統合が初めてでも、すでに設計していても、目的は同じです。トレードオフを見据えて、意図的に決定すること。
- 更新日 2026-11-07
Salesforce’s Product Party! Some dance on Core, others do their own thing! (1.1) (英語)
動画の公開後に変わったこと
- 新しい名前。
- 製品ごとのステータスを確認する場所。
- マーケティングはコアプラットフォームへ移りつつあります。
更新内容をすべて読む
今も正しいこと
- Salesforceは一つの製品ではありません。Salesforceのコアプラットフォームを共有する製品は、同じプラットフォーム、メモリ、処理能力の上で動くので、製品同士のインテグレーションは要りません。一方、別に動いている製品には、コネクターかインテグレーションが必要です。
- 2つのSalesforce製品のあいだに矢印を引く前に、それぞれがその線のどちら側にあるのかを確かめてください。
- どの製品が別に動いているかは、自分で確かめられます。Salesforceは製品ごとのステータスを個別に公開しているからです。
変わったこと
- 新しい名前。 PardotはMarketing Cloud Account Engagementになり、Data Cloudも名前が変わりました。「2025年10月14日をもって、Data CloudはData 360にブランド名が変更されました」(About Salesforce Data 360、Salesforceヘルプ、2026-11-07確認)。
- 製品ごとのステータスを確認する場所。 動画ではtrust.salesforce.comを案内しています。現在、各製品のステータスはTrust Statusに載っていて、Marketing Cloud Engagement、Marketing Cloud Account Engagement、B2C Commerce、Heroku、Tableau、MuleSoftがそれぞれ個別のステータスで表示されます(2026-11-07確認)。
- マーケティングはコアプラットフォームへ移りつつあります。 動画では、Marketing Cloudを別に動く製品の例にしています。Salesforceの新しいマーケティング製品は「Salesforce Platform上にネイティブに構築」されています(Salesforce Announces Marketing Cloud Next、Salesforce News、2026-11-07確認)。そこでこのコースでは、マーケティングの移行を進行中のものとして扱い、Salesforceのコアプラットフォームの外の例には、Salesforceの外にあるシステムを使っています。
- 更新日 2026-11-07
Mastering Salesforce APIs: Reaching into the Cloud Like a Pro! (1.2) (英語)
動画の公開後に変わったこと
- More doors on newer versions
- A newer API version
- New programs sign in through an External Client App
更新内容をすべて読む
今も正しいこと
- Every door into Salesforce, from the browser side and the program side, and the question that starts every design: what API do I use?
- Some services are versioned and some aren't, and `GET /services/data/` lists every version the org still serves.
- Salesforce's own Postman collection is a good way to try the doors yourself.
変わったこと
- More doors on newer versions. In 2023 the video counted about 34 REST services on version 31 and about 50 on version 58. Asked the same question on 2026-10-31, one org showed 32 on 31.0 and 57 on 68.0 (chapter 8, module 1). The count only goes one way.
- A newer API version. The video calls version 58 the latest. Today's is 68.0 (Winter '27), and the oldest versions are closing: 31.0 to 40.0 are deprecated in Summer '27 and retired in Summer '28, when a REST call to them returns 410 GONE (Salesforce Platform API Versions 31.0 through 40.0 Retirement, Salesforce Help, checked 2026-11-07).
- New programs sign in through an External Client App. Since Spring '26, customers can't create new connected apps unless they ask Salesforce Support; the External Client App is the way now (New Connected Apps Can No Longer Be Created in Spring '26, Salesforce Help, checked 2026-11-07; chapter 13, module 6).
- 更新日 2026-11-07
Salesforce Tango: Understanding the API Dance Between the Client and the Server. (1.3) (英語)
動画の公開後に変わったこと
- Register the caller as an External Client App
- The integration user's profile
更新内容をすべて読む
今も正しいこと
- The tango: the client and the server each have their own moves. The client knows the address, signs in, speaks the protocol and owns the round trip; the server publishes the door, listens, defines the payload and handles what happens inside.
- With OAuth there's usually a separate authorization server that gives the client a token to show the resource server.
- The client must be ready at any time for its session to expire: catch the error, go back to the authorization server, and sign in again.
変わったこと
- Register the caller as an External Client App. The video says Salesforce may need a connected app. Since Spring '26, customers can't create new connected apps unless they ask Salesforce Support; the External Client App is the way now (New Connected Apps Can No Longer Be Created in Spring '26, Salesforce Help, checked 2026-11-07).
- The integration user's profile. The video's "integration profile" is today Salesforce's own: "The Minimum Access - API Only Integrations profile enables and also restricts assigned users to operate via API", with permissions given through permission sets (Give Integration Users API Only Access, Salesforce Help, checked 2026-11-07).
- 更新日 2026-11-07
Beam Me Up, Codey! Serialization and Deserialization: The Star Trek Transporters of Integrations (1.4) (英語)
動画の公開後に変わったこと
- Little has changed in the platform here
- Matching is the rule, the exception has a reason
更新内容をすべて読む
今も正しいこと
- The transporter: one side turns its data into a format for the wire (serialization), and the other side turns it back into its own (deserialization).
- The formats: XML, JSON, fixed length and binary, each still in use somewhere.
- The answer can come back in a different format from the request, for a reason: a form in, a generated document back; a document in, a receipt back.
変わったこと
- Little has changed in the platform here. JSON is still the usual format for new APIs, and the ideas are the same.
- Matching is the rule, the exception has a reason. The course says the request and the answer match nearly every time, and treats a different answer format as a deliberate design, not something to expect (chapter 3, modules 3 and 4). Not a platform change.
- 更新日 2026-11-07
Cracking the Code: “Steve's Number of Zeros”for Estimating Integration Volumes! (1.5) (英語)
動画の公開後に変わったこと
- 動画の中で口頭で言った数字のうち、3つを訂正します。
- コースではシナリオに沿って計算します。
更新内容をすべて読む
今も正しいこと
- 手法そのもの:ビジネス側のおおまかな数字から始め、少し高めに見積もり、実際に作業が行われる時間帯での1秒あたりのトランザクション数、レコード数、バイト数に換算します。
- 4つの実例:ERPへの商談連携、写真付きのトラック配送、店舗の予約、コールセンターです。動画の中の1秒あたりのトランザクション数(0.84、1.39、7.58、1.67)は、計算し直しても合っています。
- 仕組みを選ぶ前に、早い段階で計算しましょう。
変わったこと
- 動画の中で口頭で言った数字のうち、3つを訂正します。プラットフォームの変更ではなく、計算の誤りです。トラックの例では、平均約1.5 MBのトランザクションが8時間で40,000件なので、「2ギガ」ではなく毎秒約2 MBです。予約の例では、約100 KBのものが11時間で300,000件なので、「73メガ」ではなく毎秒約0.76 MBです。コールセンターの例では、1秒あたりのレコード数は4ではなく5です(毎秒1.67トランザクション、1件あたり3レコード)。1秒あたりのバイト数は、動画で示していないトランザクションのサイズがわからないと出せません。
- コースではシナリオに沿って計算します。Integration Architectの第6章とData Architectの第9章で、Steve Truckingの実際の数字を使って同じ手法を教え、各ステップを確認しています。
- 更新日 2026-11-07
JSON Jamboree: Fixed vs. Dynamic Deserialization Showdown for Apex Callouts (1.6) (英語)
動画の公開後に変わったこと
- The flight data API now needs a different sign-in
- Where the mapping lives, in more depth
更新内容をすべて読む
今も正しいこと
- Three ways to turn a JSON answer into Salesforce data in Apex: an Apex class that matches the answer exactly, read in one line; a hand-written parser for an answer you can only read by position; and a mapping kept in custom metadata.
- The custom metadata mapping is the one to remember: which field in the answer goes to which field on the record is data, not code, so it can change in production without a deployment.
変わったこと
- The flight data API now needs a different sign-in. The demo calls the OpenSky Network's public API. OpenSky's own guide says that "Since March 18, 2026, basic authentication with username and password is no longer supported" and that "Authentication now uses the OAuth2 client credentials flow" (opensky-api, OpenSky Network, checked 2026-11-07). If you try the calls yourself, sign in that way, through a named credential.
- Where the mapping lives, in more depth. The course teaches the same idea, the mapping as data, with who owns it and how it changes (chapter 3, module 5). Not a platform change.
- 更新日 2026-11-07
Salesforce Bulk API Steps: Importing Data at the Loading Dock (1.7) (英語)
動画の公開後に変わったこと
- ジョブごとにアップロードは1回。複数ファイルではありません。
更新内容をすべて読む
今も正しいこと
- 銀行の窓口と搬入口のたとえ。1件ずつの呼び出しは銀行の窓口で、一度に200件ずつしか受け付けません。Bulk API は搬入口で、100万件のレコードでもほんの数回の呼び出しで済みます。
- 手順。ジョブを開いてIDを受け取り、データをアップロードし、完了を伝えます。Salesforceが処理する間は待って、最後に結果を受け取ります。
変わったこと
- ジョブごとにアップロードは1回。複数ファイルではありません。 動画の「1つのCSVに最大10,000レコード」や「1ファイルでも100ファイルでも」は、元の Bulk API のバッチの説明です。Bulk API 2.0では、ジョブのデータをアップロードすれば、Salesforceがバッチを作ってくれます。「1ジョブあたり最大150MB(base64エンコード後)までアップロードできます」(Step 3: Bulk Insert、Bulk API 2.0 and Bulk API Developer Guide、2026-11-07確認)。2つの違いは第10章で比べています。
- 更新日 2026-11-07
Apex Web Service: Building Blocks for Web Wizards (1.8) (英語)
動画の公開後に変わったこと
- A missing field is a 400
- Your own door keeps its versions
更新内容をすべて読む
今も正しいこと
- Five custom Apex REST services, from simple to robust: a GET of records; a response class you control carefully, which is your contract with the other team; a parameter; a POST with a request class; and an error returned with a status code.
- If a simple query is all you need, you don't need a custom service.
- Apex REST counts against the org's limits: "Calls to Apex REST classes count against the organization's API governor limits" (Introduction to Apex REST, Apex Developer Guide, checked 2026-11-07).
変わったこと
- A missing field is a 400. The demo returns 501 for a request that's missing a required field, then 500. By the HTTP standard, 501 means "the server does not support the functionality required to fulfill the request", and 400 means a "client error" (RFC 9110, IETF, checked 2026-11-07). A missing field is the caller's mistake: answer 400, and say which field (chapter 3, module 1; chapter 8, module 5).
- Your own door keeps its versions. Salesforce's version retirement "does not impact… Custom Apex REST & SOAP Web Services" (Salesforce Platform API Versions 31.0 through 40.0 Retirement, Salesforce Help, checked 2026-11-07), so your own services' versions are yours to manage.
- 更新日 2026-11-07
Across the APIs: Summary of Salesforce APIs (1.9) (英語)
動画の公開後に変わったこと
- The catalog has moved on
更新内容をすべて読む
今も正しいこと
- The rule of thumb: anything you can see in Salesforce, you can also reach through one of its APIs.
- Sorting the APIs by what they work on, data or metadata, is still the quickest way to narrow the choice.
変わったこと
- The catalog has moved on. The video's spreadsheet listed 88 to 89 APIs. Salesforce's own developer site keeps the current list (APIs, Salesforce Developers, checked 2026-11-07), and the course keeps a dated map of the doors in chapter 8, module 1.
- 更新日 2026-11-07
Across APIs, Salesforce REST Query (1.10) (英語)
動画の公開後に変わったこと
- Sign in without a password in the request
- A newer API version
更新内容をすべて読む
今も正しいこと
- A REST query returns its records in batches: "up to 2,000 records can be returned at a time in a synchronous request", with `done` and `nextRecordsUrl` to get the rest (Query, REST API Developer Guide, Winter '27, checked 2026-11-07).
- Adding `explain` asks Salesforce how it would run the query, without running it. It's still marked Beta (Get Feedback on Query Performance (Beta), checked 2026-11-07).
- If you really need large amounts of data, use the Bulk API instead.
変わったこと
- Sign in without a password in the request. The demo signs in to Postman with the OAuth username-password flow. Salesforce blocks that flow in orgs created in Summer '26 and later, and stops supporting it for connected apps on February 20, 2027 (Retirement of OAuth 2.0 Username-Password Flow for Connected Apps (Release Update), Salesforce Help, checked 2026-11-07). On your own bench, sign in with the client credentials flow or the web server flow with PKCE, through an External Client App (chapter 13, module 8).
- A newer API version. The video calls version 59 the latest. Today's is 68.0 (Winter '27), and the oldest versions are closing: 31.0 to 40.0 are deprecated in Summer '27 and retired in Summer '28, when a REST call to them returns 410 GONE (Salesforce Platform API Versions 31.0 through 40.0 Retirement, Salesforce Help, checked 2026-11-07).
- 更新日 2026-11-07
Across the APIs: Salesforce REST SObject Describe and Retrieve (1.11) (英語)
動画の公開後に変わったこと
- A newer API version
更新内容をすべて読む
今も正しいこと
- Describe tells a program what an object has, and the global describe lists only the objects the signed-in user can see.
- Retrieve gets one record by its ID.
- `updated` lists the records changed between two dates, a simple way to keep a copy in step. Its limits hold: it reaches back "30 days previous to the day the call is executed" and returns up to "600,000 IDs" (Get Updated, checked 2026-11-07).
変わったこと
- A newer API version. The video calls version 59 the latest. Today's is 68.0 (Winter '27), and the oldest versions are closing: 31.0 to 40.0 are deprecated in Summer '27 and retired in Summer '28, when a REST call to them returns 410 GONE (Salesforce Platform API Versions 31.0 through 40.0 Retirement, Salesforce Help, checked 2026-11-07).
- 更新日 2026-11-07
Across the APIs: Salesforce REST SObject Insert and Update (1.12) (英語)
動画の公開後に変わったこと
- Sign in without a password in the request
- A newer API version
更新内容をすべて読む
今も正しいこと
- POST creates a record and answers 201 Created; PATCH, with the record's ID in the address, changes it and answers 204 No Content.
- Each call is one record, it's fast, and it still runs your automation: triggers and flows fire just as they would for a person.
変わったこと
- Sign in without a password in the request. The demo signs in to Postman with the OAuth username-password flow. Salesforce blocks that flow in orgs created in Summer '26 and later, and stops supporting it for connected apps on February 20, 2027 (Retirement of OAuth 2.0 Username-Password Flow for Connected Apps (Release Update), Salesforce Help, checked 2026-11-07). On your own bench, sign in with the client credentials flow or the web server flow with PKCE, through an External Client App (chapter 13, module 8).
- A newer API version. The video calls version 59 the latest. Today's is 68.0 (Winter '27), and the oldest versions are closing: 31.0 to 40.0 are deprecated in Summer '27 and retired in Summer '28, when a REST call to them returns 410 GONE (Salesforce Platform API Versions 31.0 through 40.0 Retirement, Salesforce Help, checked 2026-11-07).
- 更新日 2026-11-07
Inserting Lists of Objects, Across the APIs, Salesforce REST API Composite Tree (1.13) (英語)
動画の公開後に変わったこと
- The tree fails as a whole
- Sign in without a password in the request
- A newer API version
更新内容をすべて読む
今も正しいこと
- A parent and its children in one call, linked by reference IDs.
- The tree's limits hold: "Up to a total of 200 records across all trees" (sObject Tree, checked 2026-11-07).
- A duplicate rule stopped the demo, and that's a real lesson: the org's rules still apply to every record a call creates.
変わったこと
- The tree fails as a whole. The video says you can choose all or none for a tree. Salesforce's guide says it always works that way: "If an error occurs while creating a record, the entire request fails" (same page). The all-or-none choice belongs to collections and composite (video 1.14).
- Sign in without a password in the request. The demo signs in to Postman with the OAuth username-password flow. Salesforce blocks that flow in orgs created in Summer '26 and later, and stops supporting it for connected apps on February 20, 2027 (Retirement of OAuth 2.0 Username-Password Flow for Connected Apps (Release Update), Salesforce Help, checked 2026-11-07). On your own bench, sign in with the client credentials flow or the web server flow with PKCE, through an External Client App (chapter 13, module 8).
- A newer API version. The video calls version 59 the latest. Today's is 68.0 (Winter '27), and the oldest versions are closing: 31.0 to 40.0 are deprecated in Summer '27 and retired in Summer '28, when a REST call to them returns 410 GONE (Salesforce Platform API Versions 31.0 through 40.0 Retirement, Salesforce Help, checked 2026-11-07).
- 更新日 2026-11-07
Inserting Lists of Objects Part 2, Across the APIs, Salesforce REST API Composite (1.14) (英語)
動画の公開後に変わったこと
- Sign in without a password in the request
- A newer API version
更新内容をすべて読む
今も正しいこと
- sObject collections: up to 200 records in one call, of mixed types, with all-or-none if you ask for it ("The list can contain up to 200 objects", Create Records Using sObject Collections, checked 2026-11-07).
- Composite: several requests in one call, the later ones using the results of the earlier ones, "up to 25 subrequests in a single call" (Composite, checked 2026-11-07).
- The video's closing list, your tools for insert from one record to many, is still the way to choose.
変わったこと
- Sign in without a password in the request. The demo signs in to Postman with the OAuth username-password flow. Salesforce blocks that flow in orgs created in Summer '26 and later, and stops supporting it for connected apps on February 20, 2027 (Retirement of OAuth 2.0 Username-Password Flow for Connected Apps (Release Update), Salesforce Help, checked 2026-11-07). On your own bench, sign in with the client credentials flow or the web server flow with PKCE, through an External Client App (chapter 13, module 8).
- A newer API version. The video calls version 59 the latest. Today's is 68.0 (Winter '27), and the oldest versions are closing: 31.0 to 40.0 are deprecated in Summer '27 and retired in Summer '28, when a REST call to them returns 410 GONE (Salesforce Platform API Versions 31.0 through 40.0 Retirement, Salesforce Help, checked 2026-11-07).
- 更新日 2026-11-07
Across the APIs: Salesforce GraphQL Introduction (1.15) (英語)
動画の公開後に変わったこと
- It writes now, too
- A newer API version
更新内容をすべて読む
今も正しいこと
- One call for records from objects that aren't related, with only the fields you ask for, against a typed schema a tool like Postman can read to fill in your query.
- It respects the user: GraphQL covers "UI API Enabled sObjects, honoring the object-level security and field-Level security of the context user" (What is GraphQL API?, GraphQL API Developer Guide, checked 2026-11-07).
- GraphQL's history as the video tells it: made at Facebook in 2012 and opened to everyone in 2015.
変わったこと
- It writes now, too. The video says GraphQL is for queries. Mutations, which create, update and delete records, were a beta from API version 59.0 and are generally available from 66.0 (Mutations, checked 2026-11-07).
- A newer API version. The video calls version 59 the latest. Today's is 68.0 (Winter '27), and the oldest versions are closing: 31.0 to 40.0 are deprecated in Summer '27 and retired in Summer '28, when a REST call to them returns 410 GONE (Salesforce Platform API Versions 31.0 through 40.0 Retirement, Salesforce Help, checked 2026-11-07).
- 更新日 2026-11-07
Across APIs: Salesforce GraphQL, Object Schema, Object Query, and Aggregate Query (1.16) (英語)
動画の公開後に変わったこと
- Mutations are generally available
- A newer API version
更新内容をすべて読む
今も正しいこと
- Records, object information and totals in one request, answered quickly: GraphQL's strength is asking for exactly what one screen needs in one call.
変わったこと
- Mutations are generally available. The video calls them "in beta right now". They're generally available from API version 66.0 (Mutations, checked 2026-11-07).
- A newer API version. The video calls version 59 the latest. Today's is 68.0 (Winter '27), and the oldest versions are closing: 31.0 to 40.0 are deprecated in Summer '27 and retired in Summer '28, when a REST call to them returns 410 GONE (Salesforce Platform API Versions 31.0 through 40.0 Retirement, Salesforce Help, checked 2026-11-07).
- 更新日 2026-11-07
Across APIs: Salesforce UI API Can Power Your Own User Interface (1.17) (英語)
動画の公開後に変わったこと
- A newer API version
更新内容をすべて読む
今も正しいこと
- The UI API gives a program everything a Salesforce screen has, as that user would see it: the record, its layout, its actions, with field and record security respected.
- The answers are heavy, so it's for building your own screens on Salesforce, not for moving data in bulk.
- It can create records too: "To create or clone a record, pass a Record Input request body to the POST /ui-api/records resource" (Create a Record, User Interface API Developer Guide, checked 2026-11-07).
変わったこと
- A newer API version. The video calls version 59 the latest. Today's is 68.0 (Winter '27), and the oldest versions are closing: 31.0 to 40.0 are deprecated in Summer '27 and retired in Summer '28, when a REST call to them returns 410 GONE (Salesforce Platform API Versions 31.0 through 40.0 Retirement, Salesforce Help, checked 2026-11-07).
- 更新日 2026-11-07
Across APIs: Salesforce Tooling API Introduction to Automated Developer Control (1.18) (英語)
動画の公開後に変わったこと
- Treat it as a powerful door
- A newer API version
更新内容をすべて読む
今も正しいこと
- From outside the org, the Tooling API can run tests, read debug logs and run anonymous Apex; Salesforce's own summary: it lets you "Build custom development tools or apps for Salesforce Platform applications" (APIs, Salesforce Developers, checked 2026-11-07).
- The difference from the Metadata API: Tooling works inside one org; metadata moves between orgs.
変わったこと
- Treat it as a powerful door. The video shows how much a program can do this way. The course adds the other side: code run from outside the org is a door to guard, with its own integration user and the fewest permissions it needs (chapter 8, module 7; chapter 13, module 4). Not a platform change.
- A newer API version. The video calls version 59 the latest. Today's is 68.0 (Winter '27), and the oldest versions are closing: 31.0 to 40.0 are deprecated in Summer '27 and retired in Summer '28, when a REST call to them returns 410 GONE (Salesforce Platform API Versions 31.0 through 40.0 Retirement, Salesforce Help, checked 2026-11-07).
- 更新日 2026-11-07
Across APIs: Salesforce Tooling API Viewing and Creating Metadata (1.19) (英語)
動画の公開後に変わったこと
- Changes to the org go through a pipeline
- A newer API version
更新内容をすべて読む
今も正しいこと
- Through the Tooling API, a program can list objects, fields and Apex classes, and create a field or a class.
変わったこと
- Changes to the org go through a pipeline. Creating a field straight in an org from Postman works, and it's how the demo shows the power. For a real org, the course's position is that changes to metadata go through your deployment process, not a program reaching in (chapter 8, module 7). Not a platform change.
- A newer API version. The video calls version 59 the latest. Today's is 68.0 (Winter '27), and the oldest versions are closing: 31.0 to 40.0 are deprecated in Summer '27 and retired in Summer '28, when a REST call to them returns 410 GONE (Salesforce Platform API Versions 31.0 through 40.0 Retirement, Salesforce Help, checked 2026-11-07).
- 更新日 2026-11-07
Across APIs: Platform Event Behavior Compare to SObject Behavior (1.20) (英語)
動画の公開後に変わったこと
- All new platform events are high volume
- The newer API to subscribe
更新内容をすべて読む
今も正しいこと
- An event isn't a record: it has no primary key, publishing adds it to the end of a stream, and a subscriber reads the stream.
- The three ways to connect: new events only, everything after a replay ID you kept, or everything still kept on the bus; platform events are kept for 72 hours.
変わったこと
- All new platform events are high volume. The video speaks of "high volume" platform events as one kind of two. Salesforce: "You can no longer define new standard-volume custom platform events. New platform events are high volume by default. Standard-volume custom platform events will be retired in Summer ’27" (Standard-Volume Platform Event Allocations, Platform Events Developer Guide, checked 2026-11-07).
- The newer API to subscribe. For a program outside Salesforce, the Pub/Sub API is the way in today, and it "doesn’t support legacy events, such as standard-volume platform events, PushTopic events, and generic streaming events" (Supported Event Types, Pub/Sub API Developer Guide, checked 2026-11-07).
- 更新日 2026-11-07
Integration Patterns: Options for Achieving Near-Real-Time Notifications to External Systems (1.24) (英語)
動画の公開後に変わったこと
- Change Data Captureは、制限の範囲内なら何も購入せずに使えます。
- 新しく作るプラットフォームイベントはすべて大量イベント(high volume)です
更新内容をすべて読む
今も正しいこと
- レコードが変わったことを別のシステムに伝える方法は8つあります。設定で行うものとコードで行うものがあり、相手のシステムに何ができるかで分けています。イベントを購読できるのか、それともこちらから呼び出すサービスを公開しているのか、です。
- 選び方はこうです。まず相手のシステムを見て、次にミドルウェア、チームのスキル、ロジックをどこに置きたいかを見ます。コードのほうが多くのケースに対応できますが、設定のほうがシンプルです。
- トリガーからのコールアウトは非同期で実行する必要があります。
変わったこと
- Change Data Captureは、制限の範囲内なら何も購入せずに使えます。 動画では「購入を選ぶこともできる」と言っています。Salesforceのガイドにはこうあります。「組織にアドオンライセンスがない場合、イベントの公開と配信には超過できないデフォルトの割り当てが適用される」。アドオンを購入すると配信の割り当てが増えます(Change Data Capture Allocations、Change Data Capture Developer Guide、2026-11-07確認)。
- 新しく作るプラットフォームイベントはすべて大量イベント(high volume)です(Standard-Volume Platform Event Allocations、Platform Events Developer Guide、2026-11-07確認)。
- 更新日 2026-11-07
Across the APIs: Resilience in Integration,Platform Events and Use Of Replay Id Explained (1.21) (英語)
動画の公開後に変わったこと
- 「まれ」は「ゼロ」ではありません。
- 今やすべてのプラットフォームイベントが高ボリュームです。
更新内容をすべて読む
今も正しいこと
- 復旧の設計はこうです。サブスクライバーは、最後に処理したReplay IDを再起動しても消えない場所に保存しておき、そのIDで再接続して、順番どおりに追いつきます。ただし、72時間以内であることが条件です。
- その期間を過ぎている場合や、IDが無効な場合は、再接続に失敗します。サブスクライバーはそのケースにも備えておかなければなりません。
- 動画ではこれを「保証された」配信ではなく、「ほぼ保証された」配信と呼んでいます。今でも、それが正直な言い方です。
変わったこと
- 「まれ」は「ゼロ」ではありません。 Salesforceは今、はっきりこう書いています。「まれに、最初の試行またはその後の試行で、イベントメッセージが分散システムに永続化されないことがあります。その場合、イベントはサブスクライバーに配信されず、復旧もできません」(Considerations for Defining and Publishing Platform Events、Platform Events Developer Guide、2026-11-07確認)。どちらのコースも、このすき間を受領確認で埋めています。
- 今やすべてのプラットフォームイベントが高ボリュームです。 新しいプラットフォームイベントはデフォルトで高ボリュームになり、標準ボリュームのイベントはSummer '27で廃止されます(Standard-Volume Platform Event Allocations、Platform Events Developer Guide、2026-11-07確認)。
- 更新日 2026-11-07
Across the APIs: Viewing Platform Events Using The Streaming Monitor (1.22) (英語)
動画の公開後に変わったこと
- Where to get it
- All new platform events are high volume
更新内容をすべて読む
今も正しいこと
- Streaming Monitor, a free app by Salesforce Labs, lets you watch events arrive, publish test events, and try the replay choices yourself.
- Its quirks, as the video shows them: refreshing the page drops every subscription, and it reads the list of events when it loads, so a new event needs a reload.
- Subscribing to everything at once is what not to do. And look at another team's events before you build on them.
変わったこと
- Where to get it. Salesforce's own Trailhead steps now install it "from the AgentExchange", and say "The Streaming Monitor app on AgentExchange is developed by Salesforce Labs" (Subscribe to Custom Channels with Streaming Monitor, Trailhead, checked 2026-11-07). It's also open source.
- All new platform events are high volume (Standard-Volume Platform Event Allocations, Platform Events Developer Guide, checked 2026-11-07).
- 更新日 2026-11-07
Across the APIs Platform Event Patterns, Inside of Salesforce, External Subscribers and with Kafka (1.23) (英語)
動画の公開後に変わったこと
- Salesforce's own bridge goes to one place
- The newer API for outside subscribers
更新内容をすべて読む
今も正しいこと
- Three patterns: events inside Salesforce, external publishers and subscribers, and a bridge to another event bus such as Kafka.
- Outside systems that talk to each other a lot shouldn't do it on Salesforce's event bus; give them their own, and bridge only the events meant to cross.
- Start small and grow larger.
変わったこと
- Salesforce's own bridge goes to one place. Event Relay is Salesforce's product for this, and it connects to Amazon EventBridge: "Use Event Relay to send platform events and change data capture events from Salesforce to Amazon EventBridge" (Event Relay, Salesforce Help, checked 2026-11-07). A bridge to Kafka is a connector or middleware.
- The newer API for outside subscribers. External subscribers use the Pub/Sub API today (Supported Event Types, checked 2026-11-07).
動画は、クリックしたときにだけ YouTube から読み込まれます。