If you are developing a Streams application that uses the Geospatial toolkit to monitor moving objects, you may have come across sample data in GPX (GPS Exchange) format and want to use it to test your application. This article will show you how to do so.
The IBM Streams project and the IBMStreams GitHub repository contain a very rich set of toolkits to perform ingestion, parsing and analytic operations. The Java Application API provides the ability to invoke operators from any of these toolkits, regardless of whether the operator is written in Java, C++ or SPL.
One of the challenges with invoking non-Java operators is setting the value for a parameter whose type does not have a direct mapping to a Java primitive type. For example, setting a parameter that expects an unsigned 32-bit integer (uint32) cannot be done using a Java primitive type since Java does not natively support unsigned numbers.
Streams integrates with other technologies using adapters to popular protocols such as TCP, ODBC, Kafka, JMS, MQTT and HDFS, just to name a few. REST is another established protocol that is gaining popularity because of its use in many cloud-based services. This article describes how to use Streams HTTP adapters to integrate SPL applications to Cloudant and other RESTful, web-based services.
Pointing ZooKeeper’s transaction log location to a disk with fast storage can dramatically increase your Streams performance from an administrative perspective . The effect on running applications is minimal. Learn how to set up ZooKeeper’s transaction log location to improve Streams performance.
Have you wondered how the experts use Streams? Are you sick of typing in your domain and instance names? Luckily, by intelligently using environment variables, you can significantly streamline your Streams life.