Integrate Replicator into avrorouter
Took the Replicator into use in avrorouter as an alternative to the binlogrouter based setup. This also allows the avrorouter to automatically handle master failovers and to start replication from GTID coordinates.
This commit is contained in:
@ -4,7 +4,7 @@ if(AVRO_FOUND AND JANSSON_FOUND)
|
||||
|
||||
# The common avrorouter functionality
|
||||
add_library(avro-common SHARED avro.cc ../binlogrouter/binlog_common.cc avro_client.cc
|
||||
avro_schema.cc avro_rbr.cc avro_file.cc avro_converter.cc rpl.cc)
|
||||
avro_schema.cc avro_rbr.cc avro_file.cc avro_converter.cc rpl.cc replicator.cc sql.cc)
|
||||
set_target_properties(avro-common PROPERTIES VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs)
|
||||
target_link_libraries(avro-common maxscale-common ${JANSSON_LIBRARIES} ${AVRO_LIBRARIES} maxavro lzma)
|
||||
install_module(avro-common core)
|
||||
|
Reference in New Issue
Block a user