This is in continuation to the previous post, if you have not read
that, I would advise you to go through that before continue
reading.
I discussed about three use cases in my last post, here I will
explain them in detail.
- Extracting data from a binary log file:
The binary log file is full of information, but what if you want selected info, for example:- printing the timestamp for every event in the binary log file.
- extracting the event types of all the events occurring in the binary log file.
And any other such data from an event in real time. Below is some sample code which shows how to do that step by step.
- Connect to the available transport
// …