The work on the document has been moved to debezium/debezium-design-documents#1.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from abc import ABC, abstractmethod | |
class Operation(ABC): | |
@abstractmethod | |
def apply(self, color): | |
pass | |
@abstractmethod | |
def __str__(self): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
API_URL="$1" | |
while true; do | |
echo "Fetching $API_URL" >&2 | |
RESPONSE="$(curl -sn "$API_URL")" | |
if [[ $? -ne 0 ]]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Doctrine\DBAL\Connection; | |
use Doctrine\DBAL\Driver as DriverInterface; | |
use Doctrine\DBAL\Driver\API\ExceptionConverter; | |
use Doctrine\DBAL\Driver\PDO\Connection as PDOConnection; | |
use Doctrine\DBAL\Platforms\AbstractPlatform; | |
class Driver implements DriverInterface | |
{ |
Unlike the Debezium connector for MySQL which consumes the changes from all databases via a single binlog, the SQL Server connector interacts with the CDC schema which is deployed individually for each database.
At SugarCRM, we have a number of SQL Server instances hosting more than a hundred databases each, the changes from which we'd like to capture using the Debezium connector for SQL Server. Having to deploy a hundred connectors per instance may be suboptimal both from the resourcing and the operations standpoints.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Doctrine\DBAL\Connection; | |
use Doctrine\DBAL\ExpandArrayParameters; | |
use Doctrine\DBAL\ParameterType; | |
use Doctrine\DBAL\SQL\Parser; | |
use Doctrine\DBAL\SQLParserUtils; | |
require __DIR__ . '/vendor/autoload.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -eu | |
if [ $# -ne 1 ]; then | |
echo "Usage: `basename $0` <pull>"; | |
exit 1; | |
fi | |
PULL="$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/example.phar | |
/vendor |
sudo ./sockdump.py --format string --output dump.txt ~/.phpbrew/php/php-7.4.5/var/run/php-fpm.sock
NewerOlder