Package com.zendesk.maxwell
Class MaxwellMysqlConfig
- java.lang.Object
-
- com.zendesk.maxwell.MaxwellMysqlConfig
-
public class MaxwellMysqlConfig extends Object
Created by kaufmannkr on 12/23/15.
-
-
Constructor Summary
Constructors Constructor Description MaxwellMysqlConfig()
MaxwellMysqlConfig(MaxwellMysqlConfig c)
MaxwellMysqlConfig(String host, Integer port, String database, String user, String password, com.github.shyiko.mysql.binlog.network.SSLMode sslMode, boolean enableHeartbeat)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getConnectionURI()
String
getConnectionURI(boolean includeDatabase)
int
hashCode()
boolean
sameServerAs(MaxwellMysqlConfig other)
void
setJDBCOptions(String opts)
-
-
-
Field Detail
-
host
public String host
-
port
public Integer port
-
database
public String database
-
user
public String user
-
password
public String password
-
sslMode
public com.github.shyiko.mysql.binlog.network.SSLMode sslMode
-
enableHeartbeat
public boolean enableHeartbeat
-
connectTimeoutMS
public Integer connectTimeoutMS
-
-
Constructor Detail
-
MaxwellMysqlConfig
public MaxwellMysqlConfig()
-
MaxwellMysqlConfig
public MaxwellMysqlConfig(String host, Integer port, String database, String user, String password, com.github.shyiko.mysql.binlog.network.SSLMode sslMode, boolean enableHeartbeat)
-
MaxwellMysqlConfig
public MaxwellMysqlConfig(MaxwellMysqlConfig c)
-
-
Method Detail
-
setJDBCOptions
public void setJDBCOptions(String opts)
-
getConnectionURI
public String getConnectionURI(boolean includeDatabase) throws URISyntaxException
- Throws:
URISyntaxException
-
getConnectionURI
public String getConnectionURI() throws URISyntaxException
- Throws:
URISyntaxException
-
sameServerAs
public boolean sameServerAs(MaxwellMysqlConfig other)
-
-