Remove extra fields from ConnectionPoolOptions included in events

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Unknown
    • 2.0.0-beta.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The CMAP spec only mentions max_pool_size, min_pool_size, and max_idle_time as options that need to be included in ConnectionPoolCreated events. The Rust driver currently includes several more options however, such as TlsOptions. In the future, TlsOptions may include TlsCertificateKeyPassword, which is not something that should be included in an event. We should remove all but the necessary fields to ensure we don't accidentally include information not intended to be included in events.

              Assignee:
              Patrick Freed
              Reporter:
              Patrick Freed
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: