Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9122173
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T06:02:07+00:00 2026-06-17T06:02:07+00:00

So the example case for this is: I have the type Message. It is

  • 0

So the example case for this is:

I have the type Message. It is passed between server A -> B -> C
Now let’s say version 2.0 of the Message is created that has a couple of new fields/ids.
Servers A and C know about this new format, but server B is still using the old one.
All servers deserialize, inspect, serialize and send the message.
Assuming that A is populating all fields (both V1.0 and V2.0 of Message), will C see the populated fields of Message V2.0?

I know that protocol buffers supports this. I wanted to know whether Thrift supports it as well. (on a quick test I did in C#, the answer is no but just wanted to check with everyone)

As an example of the Message code, here it goes on IDL:

struct Message { // V1.0
  1: i64 Id;
}

.

struct Message { // V2.0
  1: i64 Id;
  2: string Content;
}

Will server C see Message.Content that was populated in A?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T06:02:09+00:00Added an answer on June 17, 2026 at 6:02 am

    The answer is no.

    Regarding Protocol Buffers, it is also important to notice that according to the documentation the Python version of the generated code does not support this.

    https://developers.google.com/protocol-buffers/docs/encoding#order –
    “If a message has unknown fields, the current Java and C++ implementations write them in arbitrary order after the sequentially-ordered known fields. The current Python implementation does not track unknown fields.”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to make this jQuery filter that uses .find case-insensitive. For example, when the
In this case the character is ^ . For example in the following format
The ListNode example , taken from Scalas homepage goes like this: case class ListNode[+T](h:
For example: public enum Unit{ KW, kV, V, Hz, %V } In this case
How do I parse sentence case phrases from a passage. For example from this
Case example: I have a long list of items, and when I put my
I have the following code that sends a message using the mail() function. Everything
I have this scenario: One client sends a message into a msmq queue instance
I have this opaque type type_t and a function prototype like foo(type_t *t) and
I have several of this, where the only thing that differs is if its

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.