The latest version of Apama Community Edition has arrived bringing enhanced connectivity options and usability improvements for Apama EPL.
Connectivity plug-in enhancements
Apama connectivity plug-ins allow your applications to communicate with the outside world.
- HTTP client transport
- A new preset connectivity bundle helps when creating dynamic connectivity to HTTP servers where JSON is used in the request or response
- HTTP server transport
- Help in preventing brute force attacks is provided using new
coolDownSecs
andmaxAttempts
configuration properties
- Help in preventing brute force attacks is provided using new
- Kafka transport
- Compatible with Kafka 1.0 and provided as a pre-built component available as a connectivity bundle from Software AG Designer
This version of Apama also introduces a set of general connectivity plug-in framework enhancements:
- New EPL sample highlights how to send and receive events using connectivity plug-ins
- C++ connectivity plug-in API allows creating dynamic chain managers for transports rather than having to have them defined and created on startup. This capability was previously only provided for the Java connectivity plug-in API. A skeleton sample is provided in C++ for use as a starting point when writing C++ chain managers
Docker container orchestration with Kubernetes
Kubernetes is an open source and widely used system for deploying, scaling and managing containerized applications in Docker environments. Apama now provides support for Kubernetes including documentation detailing how to create Kubernetes “pods” and how to use them together using “services”. In addition, samples are provided to illustrate how to use Apama containers with Kubernetes. You can also find these Docker and Kubernetes samples on GitHub at GitHub - Cumulocity-IoT/apama-streaming-analytics-docker-samples: The samples in this repository demonstrate how you can use Docker to deploy and manage entire Apama applications.
EPL enhancements
- Reflection has been improved so that you can query more properties of an any data type. For example, an EPL application can query an event type to find out what actions it has:
(<any> MyEventType).getActionNames();
- Listeners can be dynamically created for event types and with specific criteria at runtime
On any(…)
Provides more flexibility when creating listeners:
string typeName = “MyEvent”
dictionary<string, any> values := {"quantity", 100};
on any(typeName = typeName, values = values)
The above definition is equivalent to:
on MyEvent(quantity = 100)
- ApamaDoc is available for all of the built-in datatypes and their methods. This includes primitive types, string type, reference types and the monitor pseudo- type
- Use
@throws
tag in ApamaDoc to document action exceptions - Correlator REST API information can be accessed from EPL using getInfo():
using com.apama.correlator.Component;
dictionary<string, string> correlatorInfo
string category := “license”
correlatorInfo := Component.getInfo(category)
- Correlator REST API includes persistence status info (e.g. persistenceCommitTimeEwmaMillis) and the number of enqueued events (enqueueQueueSize)
Apama Community Edition enhancements
The Community Edition of Apama now allows you to use “distributed memory stores” from within your EPL applications. For example, you can now store your application data in Terracotta DB. This feature was previously only available with the full commercial edition.
Correlator utility enhancements
- Create a zip file of the deployment folder when using
--outputDeployDir
withengine_deploy
- The deployment folder for
engine_deploy
now include project configuration representing the entire launch configuration, including connectivity plug-in configuration - Correlator YAML configuration can be used to connect multiple correlators without requiring you to use
engine_connect
- Correlator web interface allows you to use the YAML configuration
permittedRootURIs
to improve security against malicious redirects by explicitly permitting redirects to non-machine IP addresses - Correlator log files now contain information about the persistence status
Apama queries enhancements
A new wizard is provided for creating Route Event Actions. These routed events are put onto the input queue ahead of any non-routed events. Routing events can be useful when using reliable messaging with Apama queries (a full commercial edition feature) as external events are not acknowledged until the entire chain for routed events has been processed.
Docker Store
Apama Community Edition is available in several configurations and through different distribution channels.
- Apama Community Edition Downloads
- The complete Apama Community Edition, including design-time tooling on Windows, via an installer
- The smaller Apama Core Community Edition as a compressed archive
- https://hub.docker.com/_/apama-correlator
- An extended distribution of Apama Core Community Edition is available in the Software AG section of Docker Store. This Docker image can be used standalone, but also contains the client libraries needed to communicate with other Software AG products such as Terracotta DB, Universal Messaging and Digital Event Services
New folder structure for Apama Core
In order to provide all community users and commercial customers a seamless experience with all variations of Apama no matter where it comes from, the folder structure of Apama Core Community Edition is now the same as for the complete Apama Community Edition, the commercial edition and the Docker Store image. It is now eaiser to create CI/CD pipelines and scripted DevOps procedures that add custom solution assets to an Apama installation no matter how you you download or deploy Apama. Details can be found in the README.txt inside the Apama Core Community Edition download.
10.2 full commercial edition
In addition to the above new features in Apama Community Edition, the full commercial edition of Apama 10.2 also includes improved integration with other Software AG products, enhanced web-based management and monitoring capabilities from Command Central, and additional support for Capital Markets. Please refer to the release notes for the complete set of new features in Apama 10.2.
Find out more
Apama 10.2 Community Edition is available now for you to download. More information about the new capabilities mentioned here and numerous other smaller improvements are described in the release notes and product documentation available with the downloads.
The Software AG Apama team is extremely proud of this new version. Please give Apama 10.2 a try and let us know how you get on!
– Rob Jones