The document describes a MuleSoft meetup agenda that includes presentations on MuleSoft Runtime 4.4 features, Transit Gateway, and the Aggregation module. The meetup has two organizers and one speaker, Jitendra Bafna, a principal integration consultant with expertise in MuleSoft, API integration, and connecting various systems. The agenda covers MuleSoft Runtime 4.4 logging and correlation ID changes, an overview of Transit Gateway and its use for connecting different cloud and on-premise resources, and the different types of aggregators in the Aggregation module. Demo sessions are planned on correlation IDs, MDC logging, and the Aggregation module.
3. Speakers
3
Jitendra Bafna
Principal Integration Consultant
Devoteam
➢ Overall 13 years of experience in API and Integration Technologies.
➢ MuleSoft Ambassador and Surat/Nashik MuleSoft Meetup Leader
➢ Published overall 300+ YouTube Videos and 150+ Articles on MuleSoft
and Anypoint Platform.
➢ Expertise in setting up MuleSoft platform includes Hybrid
Implementation, CloudHub (Anypoint VPC, VPN and DLB), Customer
Hosted Mule Runtime (Clustering and Server Group).
➢ Expertise in Application Integration using API Led Connectivity and
Event Driven Architecture.
➢ Expertise in Integration with various systems like Salesforce, NetSuite
ERP, Snowflake, Databases, SAP,
➢ Define Integration and migration strategy and roadmap includes
migrating from on premise to CloudHub, migrating to higher version of
Mule Runtime etc.
5. MuleSoft Runtime
4.4 Features
MDC Logging – Mapped Diagnostic Context enriched the logs by providing more
information about the event in the logs. By default, Mule logs two entries:
processor which shows the location of current events, events which shows the
correlation Id of the event.
Mule Tracing modules enables you add more information to the logs by by
adding, removing, and clearing variables from the logging context for a given
Mule event.
Correlation ID Management - When Mule creates a new event, it generates a
Java Universally Unique Identifier (UUID) string identifier called a correlation ID
before sending the event to the next processor in the flow. This ID enables you to
correlate different log entries with a particular execution. Although it is best to
avoid making changes to the correlation ID generator, you might need to format
the correlation ID for the events if:
• Your company has its own standard or format for correlation IDs.
• Your external system correlation IDs are a different length than those in Mule,
causing an incompatibility that makes them untraceable.
6. MuleSoft Runtime
4.4 Features -
DataWeave
• dw::Core introduces new functions and annotations:
indexOf,lastIndexOf,onNull,then
• Core Annotations introduces a number of new annotations.
• dw::core::Dates is a new module with functions and types to create and
manipulate Date types, for example, the function today.
• dw::core::Strings introduces new functions:
collapse,countCharactersBy,countMatches,everyCharacter,first,hammingDi
stance,last,levenshteinDistance,lines,mapString,remove,replaceAll,reverse,
someCharacter,substring,substringBy,substringEvery,words
• dw::util::Coercions is a new DataWeave module with functions and types to
simplify data type transformations, for example, the function toString.
• dw::util::Math is a new DataWeave module with functions and variables that
provides mathematical functions, for example, the function sin.
• dw::util::Periods is a new DataWeave module with functions and types to
simplify the creation of Periods, for example, the function days.
• dw::util::Tree introduces new functions:
filterArrayLeafs,filterObjectLeafs,filterTree,isArrayType,isAttributeType,isO
bjectType
• dw::util::Values provides a new type UpdaterValueProvider
7. Transit Gateway
• Transit Gateway acts as a Cloud Router in AWS and simplify the network
access between VPC's, on premise data centers and third party software. It
generally merge the on premise and cloud network into single network
topology. You can add multiple transit gateway in your Anypoint Organization
and that is completely depends on number of the Transit Gateway entitlement
with your organizations.
• To create Transit Gateway on Anypoint Platform, Anypoint Virtual Private
Cloud and AWS Transit Gateway must exists in the same region. One of the
main advantage of the Transit Gateway to simplify the network topology and
merge all the network (On Premise or Cloud) to act as a single network
topology.
• With AWS transit gateway, you can connect on premise, cloud resources and
also establish the connection with Direct connect and using Anypoint Transit
gateway within Virtual Private Cloud you can connect AWS transit gateway.
9. Transit Gateway –
Use Case
Now, we will be take one of the use cases where Transit Gateway fits in Mule
Ecosystem.
ACME Inc. is looking to implement MuleSoft for connecting below list of the
resources.
• SaaS applications like Salesforce
• SAP system in private AWS VPC
• Web Services in other private AWS VPC
• Databases in corporate data center.
Cloud based solution where they don’t want to manage infrastructure and all
applications must be highly available and fault tolerance. Application can be
access by fewer client publicly. API must be secured with OAuth JWT. Platform
must have feature like Intelligent healing, Zero Down Time updates.
Here is the solution without Transit Gateway that can be implemented to cover
above requirements.
12. Aggregation
Module With
MuleSoft
Aggregators Module contains different types of aggregators that use a specified
configuration to both store and release values. An aggregator scope is a
component that collects those values until a specified condition is met, when it
then executes a processor’s chain of components, with the list of aggregated
elements as the payload.
There are three types of Aggregators
• Size Based Aggregator
• Group Based Aggregator
• Time Based Aggregators
13. Size Based
Aggregator
The Aggregators module Size based aggregator scope enables you to aggregate
elements until a predefined size number of elements completes the aggregation.