Kafka Connect JDBC vs Debezium CDC

This explanation focuses on the differences between Debezium SQL Server CDC Connector and JDBC Connector, with more general interpretation about Debezium and CDC. tl;dr- scroll down 🙂 Debezium Debezium is used only as a source connector, records all row-level changes. Debezium Documentation says: Debezium is a set of distributed services to capture changes in your … Read more

Android USB host read from device

You can use UsbSerial Lib of from https://github.com/mik3y/usb-serial-for-android My example code: UsbManager usbManager = null; UsbDeviceConnection connection = null; UsbSerialDriver driver = null; UsbSerialPort port = null; usbManager = (UsbManager) context.getSystemService(Context.USB_SERVICE); List<UsbSerialDriver> availableDrivers = UsbSerialProber.getDefaultProber().findAllDrivers(manager); // Open a connection to the first available driver. for (UsbSerialDriver usd : availableDrivers) { UsbDevice udv = usd.getDevice(); if … Read more