GithubHelp home page GithubHelp logo

f2i-consulting / fetpapi Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 5.0 670 KB

A library allowing ETP™ v1.2 and OSDU RDDMS support

License: Apache License 2.0

CMake 2.71% C 0.07% C++ 97.12% C# 0.09%
energistics etp

fetpapi's People

Contributors

cgodkin avatar higordepadua avatar hoosayin avatar mpoudret avatar philippeverney avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fetpapi's Issues

successKeys for FETPAPI Store Protocol Handlers are always empty.

Hi Philippe!

I have been trying to put Data Objects on the store using AbstractSession::putDataObjects() method. I am using FETPAPI Store Protocol Handlers and been writing objects in a blocking call. After doing some debugging, it is clear that the message is handled from the sendingQueue successfully, and data objects are being written to the store. However, the successKeys field always has the size 0. It's not a big problem, but I am unable to make a decision in the code if data objects are written successfully or not since successKeys are always empty.

Here's the state:

Screenshot 2023-06-13 124137

Please, let me know if this is a problem, or am I missing something.

Regards.

Unable to Write Data Array with Larger I and J Counts

Hi Philippe!

I hope you are doing well. I am unable to write data array to the store with larger I and J Counts. On hit-and-trial basis, I have tried writing data arrays with the following I and J Counts:

  1. I: 4000 J: 2000 [Failed]
  2. I: 2000 J: 1000 [Failed]
  3. I: 1000 J: 500 [Success]
  4. I: 4 J: 2 [Success]

Seems like data arrays with larger counts are failing to be written to the store. Here’s the code snippet where I am creating a data array:

dataarray - 1

When I turn Verbosity on for the session, I am able to see the exception in response:

Dataarray - 2

I am using FETPAPI Data Array Handlers. I have tried using AVRO v1.10.2 as well as AVRO v1.9.0 with Boost 1.81 and ZLib v.1.2.13. Also, I am using FESAPI v2.7.1.0. I am not sure why I am getting this error.

Please let me know if this is a bug or if I am doing something wrong here. Awaiting your kind reply.

Regards.

Question: Why can't we change Protocol Handlers after pulling recent commits?

Hi Philippe and Team!

I have been using previous version of FETPAPI Client, and we could switch from Own Protocol Handlers to FETPAPI Handlers for Non-blocking and Blocking operations respectively.

I have noticed that the client now only uses FETPAPI Protocol Handlers, and Own Protocol Handler classes are missing for C++ Source (With FESAPI). I manually created those classes after cloning this repo, and when I try to change Protocol Handlers in my custom implemented commands, I get an exception message saying that you can't change some protocol handlers once the session has started.

I just want to ask, now can we only set protocol handlers for once before creating the session? And if we cannot change "Some Protocol Handlers", which are those?

Looking forward for your reply.

Regards.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.