Hi Satyajit,

1. You don't need to use Spring XML unless you have to set a property that
is not exposed in .NET API
2. Do you want to start 4 nodes in one process? Or multiple processes on
the same machine? What's your desired setup?

Pavel

On Thu, Apr 6, 2023 at 4:40 PM satyajit.mandal.barclays.com via user <
user@ignite.apache.org> wrote:

> Hi  Pavel,
>
>
>
> Need  to  understand  one  thing  from  you.  Am  using .NET  thick
> client. What’s  the  best way  to  put  the Ignite configuration . Should
> this  be  put  on  code  or  in spring  xml. If  we  put  on  code and
> lets  say  I  need  4  nodes  as  part  of  cluster  then  do  I  need  to
> start  this  service in  all  4  nodes  and  put  those 4 ip  address  in
> code ?  Don’t  want  to  use  spring.xml.
>
>
>
> return new IgniteConfiguration
>
>             {
>
>                 Localhost = "127.0.0.1",
>
>                 DiscoverySpi = new TcpDiscoverySpi
>
>                 {
>
>                     IpFinder = new TcpDiscoveryMulticastIpFinder
>
>                     {
>
>                         Endpoints = new[]
>
>                         {
>
>                             "127.0.0.1:47500..47502"
>
>                         }
>
>                     }
>
>                 },
>
>                 JvmOptions = new[]
>
>                 {
>
>                     "-DIGNITE_QUIET=true",
>
>                     "-DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true"
>
>                 },
>
>                 Logger = new ConsoleLogger
>
>                 {
>
>                     MinLevel = LogLevel.Error
>
>                 },
>
>                 PeerAssemblyLoadingMode =
> PeerAssemblyLoadingMode.CurrentAppDomain
>
>             };
>
>         }
>
>
>
>
>
> Regards
>
> Satyajit
>
> Barclays Execution Services Limited registered in England. Registered No.
> 1767980. Registered office: 1 Churchill Place, London, E14 5HP
>
> Barclays Execution Services Limited provides support and administrative
> services across Barclays group. Barclays Execution Services Limited is an
> appointed representative of Barclays Bank UK plc, Barclays Bank plc and
> Clydesdale Financial Services Limited. Barclays Bank UK plc and Barclays
> Bank plc are authorised by the Prudential Regulation Authority and
> regulated by the Financial Conduct Authority and the Prudential Regulation
> Authority. Clydesdale Financial Services Limited is authorised and
> regulated by the Financial Conduct Authority.
>
> This email and any attachments are confidential and intended solely for
> the addressee and may also be privileged or exempt from disclosure under
> applicable law. If you are not the addressee, or have received this email
> in error, please notify the sender and immediately delete it and any
> attachments from your system. Do not copy, use, disclose or otherwise act
> on any part of this email or its attachments.
>
> Internet communications are not guaranteed to be secure or virus-free. The
> Barclays group does not accept responsibility for any loss arising from
> unauthorised access to, or interference with, any internet communications
> by any third party, or from the transmission of any viruses. Replies to
> this email may be monitored by the Barclays group for operational or
> business reasons.
>
> Any opinion or other information in this email or its attachments that
> does not relate to the business of the Barclays group is personal to the
> sender and is not given or endorsed by the Barclays group.
>
> Unless specifically indicated, this e-mail is not an offer to buy or sell
> or a solicitation to buy or sell any securities, investment products or
> other financial product or service, an official confirmation of any
> transaction, or an official statement of Barclays.
>

Reply via email to