public ElasticSearchOutputConfiguration()
 {
     NumberOfShards   = DefaultNumberOfShards;
     NumberOfReplicas = DefaultNumberOfReplicas;
     RefreshInterval  = DefaultRefreshInterval;
     Mappings         = new ElasticSearchMappingsConfiguration();
     Proxy            = new ElasticSearchProxyConfiguration();
 }
        internal ElasticSearchProxyConfiguration DeepClone()
        {
            var other = new ElasticSearchProxyConfiguration();

            other.Uri          = this.Uri;
            other.UserName     = this.UserName;
            other.UserPassword = this.UserPassword;
            return(other);
        }