Which part do I need?
Concept 3 · 3:05
Each thing you want to do has a part of Weik.io that does it, such as a transfer for moving files on a timetable or the API gateway for partners who call your systems. The video then shows several parts working together on one invoice flow.
What it covers
- A map of needs, with the part of Weik.io that answers each one and an example
- A transfer that copies invoice PDFs from FTP to a storage bucket on a schedule
- An integration that posts each invoice to the ERP's HTTP interface
- The API gateway in the hub, with keys and call limits for partners
- An event channel, a schedule, change tracking and the entity store
- A webhook through the gateway into a channel, and transfer run records that start an integration
Commands in this video
This video explains with drawings and types no commands.
Transcript
- 0:01This video answers the question in the title,
- 0:04then shows the parts working together on one flow.
- 0:11The left column holds what you want to do.
- 0:14The middle column holds the part of Weik.io that answers it.
- 0:18The right column shows one example, and the map stays open.
- 0:26Every morning, supplier invoice PDFs wait on a partner's FTP server.
- 0:32The company wants them moved to its storage bucket.
- 0:35The need in plain words: move files between two systems on a timetable.
- 0:40The part of Weik.io that answers it is a transfer.
- 0:44It copies files from one place to another on a schedule.
- 0:48You don't write a route for a transfer.
- 0:54The next example is to connect two systems and change the data on the way.
- 0:59An integration answers it, a folder of Camel files.
- 1:03It posts each invoice to the ERP's HTTP interface.
- 1:08Another need is to let outside callers use an API with a key and a limit.
- 1:13The API gateway sits in the hub, in front of the API.
- 1:17Partners call with a key, and the limit says how often they may call.
- 1:22Another need is to react when something happened,
- 1:25without sender and receiver knowing each other.
- 1:28Eventing answers it with a channel.
- 1:30The integration above sends events into the channel,
- 1:33and a second integration reacts.
- 1:40A schedule answers the need to run a command at set times.
- 1:43When a database table changes, a change tracking answers it.
- 1:48The entity store remembers what integrations have already processed.
- 1:52More needs exist than the ones this drawing names.
- 1:59The API gateway sits in front of the integration's HTTP route or any other HTTP service.
- 2:06A webhook is an address that takes a call and turns it into an event.
- 2:11The call comes in through the gateway, and the channel stores each call.
- 2:15The integration on the channel reacts to the stored call like any other event.
- 2:20Each finished run of the transfer publishes a run record.
- 2:23An integration that reads the transfer's records starts when the batch has landed.
- 2:32A transfer copies files on a schedule.
- 2:35An integration connects two systems and changes the data.
- 2:39The gateway sits in front of the API.
- 2:41A channel answers the need to react to what happened.
- 2:45A schedule, a change tracking and the entity store answer three more needs.
- 2:50Every integration here is deployed into an environment.
- 2:54An API is deployed too, and the gateway serves it.