Configuring streaming replication