REPLACE broker (cluster_id, broker_id, host, port, timestamp, max_avg_bytes_in, status) VALUES (#{clusterId}, #{brokerId}, #{host}, #{port}, #{timestamp}, #{maxAvgBytesIn}, #{status}) DELETE FROM broker WHERE cluster_id = #{clusterId} AND broker_id = #{brokerId}