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

**URL:** <https://discuss.elastic.co/t/unknown-field-disablepafxfast-in-struct-literal-of-type-sarama-gssapiconfig/280579>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [August 5, 2021, 6:11pm UTC](https://discuss.elastic.co/t/unknown-field-disablepafxfast-in-struct-literal-of-type-sarama-gssapiconfig/280579 "2021-08-05T18:11:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpfreyen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpfreyen/32/92597_2.png) [@jpfreyen](https://discuss.elastic.co/u/jpfreyen)\
**Post date:** [August 5, 2021, 6:11pm UTC](https://discuss.elastic.co/t/unknown-field-disablepafxfast-in-struct-literal-of-type-sarama-gssapiconfig/280579/1 "2021-08-05T18:11:27Z")

</div>

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

```auto
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:

```auto
[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:

```auto
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!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 2, 2021, 8:12pm UTC](https://discuss.elastic.co/t/unknown-field-disablepafxfast-in-struct-literal-of-type-sarama-gssapiconfig/280579/2 "2021-09-02T20:12:18Z")

</div>

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