TTL Documents

Per TTL Documents, Shield and Found | Elastic:

Note that in the current version of Elasticsearch, _ttl is deprecated.

What is the approach for modern elasticsearch 6.5+ (in terms of documents that needs to be expired)?

Please advise.