Skip to content

[BUG] Recently updated dependency Elastic.Transport 0.4.18 break the use of ElasticsearchSinkOptions #363

@GuillaumeBau

Description

@GuillaumeBau

ECS integration/library project(s) (e.g. Elastic.CommonSchema.Serilog): Elastic.Serilog.Sinks

ECS schema version (e.g. 1.4.0): 8.6.1

ECS .NET assembly version (e.g. 1.4.2): 8.6.1

Elasticsearch version (if applicable):

.NET framework / OS: .NET 6

Description of the problem, including expected versus actual behavior:
The new Elastic.Transport version introduce the ITransport Interface (elastic/elasticsearch-net#8061)
Doing "new ElasticsearchSinkOptions(ITransport)" cause the error CS7069 Reference to type 'HttpTransport' claims it is defined in 'Elastic.Transport', but it could not be found

image

Works with Elastic.Clients.Elasticsearch 8.12.0, the error was introduce when updating to 8.12.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions