Unknown field 'DisablePAFXFAST' in struct literal of type sarama.GSSAPIConfig

I inherited a fairly old beats plugin project using filebeat 7.10. Its import() in main is defined as:

package main

import (

        "os"
        "github.com/elastic/beats/v7/filebeat/beater"
        inputs "github.com/elastic/beats/v7/filebeat/input/default-inputs"
        "github.com/elastic/beats/v7/libbeat/cmd"
        "github.com/elastic/beats/v7/libbeat/cmd/instance"

        _ "PLUGIN"
)

and it all works cleanly in a compile and runs.

When I try and pull in the new filebeat 7.14 into the project in a go build I get this error:

[jfreyen@rhel82 src]$ go build filebeat.go
# github.com/elastic/beats/v7/filebeat/input/kafka
../../../go/pkg/mod/github.com/elastic/beats/v7@v7.14.0/filebeat/input/kafka/config.go:196:4: unknown field 'DisablePAFXFAST' in struct literal of type sarama.GSSAPIConfig
# github.com/elastic/beats/v7/libbeat/outputs/kafka
../../../go/pkg/mod/github.com/elastic/beats/v7@v7.14.0/libbeat/outputs/kafka/config.go:218:4: unknown field 'DisablePAFXFAST' in struct literal of type sarama.GSSAPIConfig
[jfreyen@rhel82 src]$

Has this error been seen before? Is this error a result of the import() statement I've shown above? I'm wondering if this old project should use the import() statement in filebeat/main.go:

package main

import (
        "os"

        "github.com/elastic/beats/v7/filebeat/cmd"
        inputs "github.com/elastic/beats/v7/filebeat/input/default-inputs"

       "_PLUGIN"
)

if filebeat 7.14 is to be pulled and used?

Sorry I'm a fairly new-be and trying to figure out what changed between 7.10 -> 7.14 that would have caused this error.

Thank you!

Thank u!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.