osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Backwards compatibility for REST API


Effectively there are no guarantees for backwards compatibility, although we try to maintain it.

There are plans to version the REST API (https://issues.apache.org/jira/browse/FLINK-7551) but no definitive timeline.

The change you mentioned in particular primarily affects internal code (since the removed endpoint is usually only used by the flink CLI). Note we do not provide any guarantee that Flink components interact properly if the versions don't exactly match, so you should always upgrade
the clients anyway.

On 24.07.2018 16:43, Thomas Weise wrote:
Hi,

Are there any compatibility guarantees for the Flink REST API or plans to
establish the same?

I'm asking since I noticed that the 1.5.1 release has an incompatible
change that prevents a 1.5.0 client to submit a job to 1.5.0 server
(FLINK-9280, removed endpoint /blobserver/port).

Such change is especially unexpected in a patch release, but even if it was
in 1.6.x, it is still problematic because it forces clients to upgrade.

Thanks,
Thomas