This is my tech workbook. Please visit https://ojitha.blogspot.com.au for my official Tech blog.

Spark Kafka Docker Configuration

June 9, 2023

This is the continuation of the Spark Streaming Basics. I explained the basic stream example, which runs only on one AWS Glue container. The stream producer was Netcat, and the sink was a text file. In this post, the stream producer is still Netcat, but the sink is Kafka. Both Kafka and Spark running on Docker containers.

Simple Streaming with Spark and Kafka

More…

Spark Streaming Basics

June 9, 2023

This is a very basic example created to explain Spark streaming. Spark run on the AWS Glue container locally.

More…

Introduction to Lambda Calculus

April 28, 2023

This is a short description of lambda calculus. Lambda calculus is the smallest programming language that is capable of variable substitution and a single function definition scheme. Haskell is the functional programming language based on lambda calculus, which I will explore. I already explained how to use VSCode for Haskell Development to support the code listed here.

More…

Python Data Classes

February 25, 2023

Python Data classes using collections.namedtuple, typing.NamedTuple and latest @dataclass decorator.

More…